Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 98.55 kB / 15.98 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009799/0.0009799, allocations: 199 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6993/0.6993, allocations: 115.3 MB / 406.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.05 kB / 493.2 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.317, allocations: 76.18 MB / 0.556 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1535/0.4706, allocations: 146.2 MB / 0.6988 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.4708, allocations: 59.78 kB / 0.6988 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.4709, allocations: 3.938 kB / 0.6988 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.471, allocations: 0 / 0.6988 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.4711, allocations: 15.92 kB / 0.6988 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000851/0.472, allocations: 195.4 kB / 0.699 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.663e-05/0.4721, allocations: 35.86 kB / 0.6991 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.4721, allocations: 3.984 kB / 0.6991 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.4722, allocations: 15.98 kB / 0.6991 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.4722, allocations: 19.92 kB / 0.6991 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.4723, allocations: 3.938 kB / 0.6991 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.4727, allocations: 199.4 kB / 0.6993 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.4728, allocations: 12 kB / 0.6993 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.4728, allocations: 15.97 kB / 0.6993 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.4731, allocations: 126 kB / 0.6994 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4731, allocations: 0 / 0.6994 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4731, allocations: 0 / 0.6994 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4731, allocations: 0 / 0.6994 GB, free: 1.289 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004842/0.4736, allocations: 347.5 kB / 0.6998 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4737, allocations: 12.03 kB / 0.6998 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.4738, allocations: 30.75 kB / 0.6998 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.4742, allocations: 28.81 kB / 0.6998 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.4744, allocations: 172.1 kB / 0.7 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.4744, allocations: 25.7 kB / 0.7 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.4745, allocations: 3.938 kB / 0.7 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.4746, allocations: 49.67 kB / 0.7001 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4746, allocations: 4 kB / 0.7001 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4747, allocations: 4 kB / 0.7001 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.4747, allocations: 0 / 0.7001 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.4748, allocations: 19.98 kB / 0.7001 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.4752, allocations: 256.9 kB / 0.7003 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/0.4752, allocations: 26.52 kB / 0.7004 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.4753, allocations: 12.86 kB / 0.7004 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.4755, allocations: 93.16 kB / 0.7005 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4755, allocations: 30.56 kB / 0.7005 GB, free: 0 / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.4755, allocations: 0 / 0.7005 GB, free: 0 / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003388/0.4759, allocations: 53.62 kB / 0.7006 GB, free: 15.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.4759, allocations: 59.47 kB / 0.7006 GB, free: 15.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.476, allocations: 105.8 kB / 0.7007 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.4761, allocations: 25.7 kB / 0.7007 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.4761, allocations: 95.97 kB / 0.7008 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.4762, allocations: 7.906 kB / 0.7008 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.4762, allocations: 17.7 kB / 0.7009 GB, free: 15.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4763, allocations: 314.8 kB / 0.7012 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.4764, allocations: 4 kB / 0.7012 GB, free: 15.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.4764, allocations: 26.56 kB / 0.7012 GB, free: 15.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.625e-05/0.4765, allocations: 30.52 kB / 0.7012 GB, free: 15.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4765, allocations: 0 / 0.7012 GB, free: 15.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001054/0.4766, allocations: 53.62 kB / 0.7013 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4766, allocations: 12.09 kB / 0.7013 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4766, allocations: 0 / 0.7013 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4767, allocations: 0 / 0.7013 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.4767, allocations: 11.94 kB / 0.7013 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4768, allocations: 7.922 kB / 0.7013 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.4768, allocations: 7.906 kB / 0.7013 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.4768, allocations: 4 kB / 0.7013 GB, free: 15.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/0.4769, allocations: 109.8 kB / 0.7014 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.477, allocations: 4 kB / 0.7014 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.477, allocations: 11.12 kB / 0.7014 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.477, allocations: 3.938 kB / 0.7014 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4771, allocations: 3.938 kB / 0.7014 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4771, allocations: 0 / 0.7014 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.4774, allocations: 359.6 kB / 0.7018 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4775, allocations: 0 / 0.7018 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.4775, allocations: 11.94 kB / 0.7018 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4775, allocations: 0 / 0.7018 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.4775, allocations: 8 kB / 0.7018 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4776, allocations: 0 / 0.7018 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4776, allocations: 0 / 0.7018 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.901e-05/0.4777, allocations: 73.98 kB / 0.7019 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.4777, allocations: 84.95 kB / 0.7019 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.4778, allocations: 4 kB / 0.7019 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.4778, allocations: 4.031 kB / 0.702 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.4779, allocations: 7.984 kB / 0.702 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.4779, allocations: 0 / 0.702 GB, free: 14.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.4779, allocations: 83.28 kB / 0.702 GB, free: 14.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4779, allocations: 0 / 0.702 GB, free: 14.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001975/0.4781, allocations: 4 kB / 0.702 GB, free: 14.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003157/0.4784, allocations: 0.6093 MB / 0.7026 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.928e-05/0.4785, allocations: 23.92 kB / 0.7027 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4785, allocations: 0 / 0.7027 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.4786, allocations: 4 kB / 0.7027 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.4788, allocations: 16.28 kB / 0.7027 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.4792, allocations: 153 kB / 0.7028 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.4794, allocations: 0.6768 MB / 0.7035 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.4794, allocations: 12.41 kB / 0.7035 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.4795, allocations: 7.438 kB / 0.7035 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.4795, allocations: 0 / 0.7035 GB, free: 12.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.4919, allocations: 1.343 MB / 0.7048 GB, free: 11.45 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/0.4922, allocations: 210.7 kB / 0.705 GB, free: 11.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.665, allocations: 0 / 0.705 GB, free: 11.19 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)