Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirProperties.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",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.005295/0.005295, allocations: 102 kB / 15.73 MB, free: 6.477 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.00111/0.00111, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7548/0.7548, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 66.3 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1695, allocations: 80.22 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1743/0.3439, allocations: 149.1 MB / 0.8048 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004757/0.3487, allocations: 3.606 MB / 0.8084 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3489, allocations: 0 / 0.8084 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.3493, allocations: 71.62 kB / 0.8084 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.3497, allocations: 139.2 kB / 0.8086 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.3528, allocations: 1.023 MB / 0.8096 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.3533, allocations: 327.6 kB / 0.8099 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.857e-05/0.3533, allocations: 9.562 kB / 0.8099 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.3538, allocations: 207.1 kB / 0.8101 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3541, allocations: 131.5 kB / 0.8102 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.3541, allocations: 8 kB / 0.8102 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.3563, allocations: 1.22 MB / 0.8114 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3564, allocations: 67.78 kB / 0.8115 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.3566, allocations: 111.5 kB / 0.8116 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.3581, allocations: 0.6465 MB / 0.8122 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3581, allocations: 0 / 0.8122 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3581, allocations: 0 / 0.8122 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.3581, allocations: 4 kB / 0.8122 GB, free: 0.7188 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001308/0.3594, allocations: 0.585 MB / 0.8128 GB, free: 88 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3595, allocations: 8.031 kB / 0.8128 GB, free: 80 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.3596, allocations: 58.73 kB / 0.8128 GB, free: 12 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3143/0.6739, allocations: 126.4 kB / 0.813 GB, free: 157.3 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.6743, allocations: 222.3 kB / 0.8132 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.6743, allocations: 13.06 kB / 0.8132 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.6744, allocations: 18.27 kB / 0.8132 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.6751, allocations: 341.9 kB / 0.8135 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.6751, allocations: 7.344 kB / 0.8135 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.6752, allocations: 11.47 kB / 0.8136 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/0.6752, allocations: 14.48 kB / 0.8136 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.6758, allocations: 322.6 kB / 0.8139 GB, free: 157 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.6774, allocations: 1.105 MB / 0.815 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.6778, allocations: 188.6 kB / 0.8151 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.678, allocations: 83.48 kB / 0.8152 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/0.6784, allocations: 454.5 kB / 0.8156 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.6785, allocations: 43.41 kB / 0.8157 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.6785, allocations: 0 / 0.8157 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0006502/0.6791, allocations: 257.1 kB / 0.8159 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.6792, allocations: 53.69 kB / 0.816 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.6794, allocations: 212.2 kB / 0.8162 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.6794, allocations: 34.73 kB / 0.8162 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.6795, allocations: 146.7 kB / 0.8164 GB, free: 155.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.6795, allocations: 68.34 kB / 0.8164 GB, free: 155.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.6796, allocations: 55.73 kB / 0.8165 GB, free: 155.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.6797, allocations: 332 kB / 0.8168 GB, free: 155 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.6798, allocations: 70.28 kB / 0.8169 GB, free: 155 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.68, allocations: 164.3 kB / 0.817 GB, free: 154.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.6804, allocations: 246.2 kB / 0.8173 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.6804, allocations: 2.344 kB / 0.8173 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005602/0.681, allocations: 290.1 kB / 0.8175 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.681, allocations: 9 kB / 0.8175 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.681, allocations: 2.656 kB / 0.8175 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.681, allocations: 5.312 kB / 0.8175 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.6813, allocations: 54.77 kB / 0.8176 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6813, allocations: 8.781 kB / 0.8176 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.6815, allocations: 28.75 kB / 0.8176 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.6816, allocations: 18.19 kB / 0.8177 GB, free: 154.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001128/0.6817, allocations: 144.3 kB / 0.8178 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.6818, allocations: 23.31 kB / 0.8178 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.6823, allocations: 279.4 kB / 0.8181 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.6824, allocations: 3.266 kB / 0.8181 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.6824, allocations: 4.469 kB / 0.8181 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6824, allocations: 2.406 kB / 0.8181 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008449/0.6832, allocations: 0.5804 MB / 0.8187 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6832, allocations: 2.875 kB / 0.8187 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.6834, allocations: 34.38 kB / 0.8187 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.6835, allocations: 1.625 kB / 0.8187 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.6835, allocations: 8.281 kB / 0.8187 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6835, allocations: 5.531 kB / 0.8187 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6835, allocations: 1.781 kB / 0.8187 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.684, allocations: 352.7 kB / 0.819 GB, free: 153.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.6842, allocations: 115.4 kB / 0.8192 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.6842, allocations: 6.109 kB / 0.8192 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.6844, allocations: 20.02 kB / 0.8192 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.6845, allocations: 14.44 kB / 0.8192 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.6845, allocations: 16.06 kB / 0.8192 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001494/0.6847, allocations: 153.2 kB / 0.8194 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6847, allocations: 0 / 0.8194 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005541/0.6853, allocations: 117.9 kB / 0.8195 GB, free: 153.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001067/0.6863, allocations: 0.9912 MB / 0.8204 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.6868, allocations: 213.3 kB / 0.8206 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6868, allocations: 0.6562 kB / 0.8206 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.687, allocations: 100.6 kB / 0.8207 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.6876, allocations: 98.77 kB / 0.8208 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.69, allocations: 2.487 MB / 0.8233 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.6902, allocations: 0.7367 MB / 0.824 GB, free: 150.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.6904, allocations: 57 kB / 0.824 GB, free: 150.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.6906, allocations: 66.86 kB / 0.8241 GB, free: 150.1 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.6906, allocations: 1.344 kB / 0.8241 GB, free: 150.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.7142, allocations: 7.72 MB / 0.8316 GB, free: 147.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.357, allocations: 17.17 kB / 0.8317 GB, free: 147.7 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)