Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_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.001574/0.001574, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.00185/0.00185, allocations: 194.9 kB / 16.26 MB, free: 6.637 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.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9175/0.9175, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 60.66 kB / 0.5049 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1496, allocations: 80.94 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.3893/0.5389, allocations: 147 MB / 0.7275 GB, free: 2.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003717/0.5427, allocations: 3.597 MB / 0.731 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.5428, allocations: 1.281 kB / 0.731 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.5431, allocations: 66.05 kB / 0.7311 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.5434, allocations: 124.7 kB / 0.7312 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.5456, allocations: 0.9503 MB / 0.7321 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.5459, allocations: 314.1 kB / 0.7324 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.546, allocations: 14.42 kB / 0.7325 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.5464, allocations: 187.8 kB / 0.7326 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.5465, allocations: 140.8 kB / 0.7328 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.5466, allocations: 11.22 kB / 0.7328 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.5483, allocations: 1.283 MB / 0.734 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.397e-05/0.5484, allocations: 67.16 kB / 0.7341 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.5486, allocations: 110.9 kB / 0.7342 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.5496, allocations: 0.7357 MB / 0.7349 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5496, allocations: 0 / 0.7349 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5496, allocations: 1.219 kB / 0.7349 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5497, allocations: 0 / 0.7349 GB, free: 14.04 MB / 0.5606 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.001037/0.5507, allocations: 0.5867 MB / 0.7355 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5507, allocations: 9.688 kB / 0.7355 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.11e-05/0.5508, allocations: 64.11 kB / 0.7356 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.5519, allocations: 131.1 kB / 0.7357 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.5522, allocations: 224.7 kB / 0.7359 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5522, allocations: 20.88 kB / 0.7359 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.5522, allocations: 16.97 kB / 0.7359 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.5527, allocations: 338 kB / 0.7363 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5527, allocations: 3.938 kB / 0.7363 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.5528, allocations: 13.33 kB / 0.7363 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.5528, allocations: 12.52 kB / 0.7363 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.5533, allocations: 322.3 kB / 0.7366 GB, free: 13 MB / 0.5606 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.001367/0.5546, allocations: 1.113 MB / 0.7377 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.5551, allocations: 188.6 kB / 0.7379 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.5552, allocations: 81.86 kB / 0.7379 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004667/0.5557, allocations: 465.2 kB / 0.7384 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.5557, allocations: 34.88 kB / 0.7384 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.5557, allocations: 0 / 0.7384 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0005508/0.5563, allocations: 265.8 kB / 0.7387 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.5563, allocations: 52.78 kB / 0.7387 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.5565, allocations: 205.8 kB / 0.7389 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.5565, allocations: 32.45 kB / 0.7389 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.5566, allocations: 143.2 kB / 0.7391 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.5567, allocations: 79.52 kB / 0.7392 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.5568, allocations: 51.12 kB / 0.7392 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.5569, allocations: 327.8 kB / 0.7395 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.557, allocations: 69.25 kB / 0.7396 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.5571, allocations: 169.2 kB / 0.7397 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.5574, allocations: 244.9 kB / 0.74 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5574, allocations: 1.781 kB / 0.74 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004759/0.5579, allocations: 287.1 kB / 0.7403 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.5579, allocations: 8.344 kB / 0.7403 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.558, allocations: 8.094 kB / 0.7403 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.558, allocations: 7.875 kB / 0.7403 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.5582, allocations: 58.53 kB / 0.7403 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5582, allocations: 6.594 kB / 0.7403 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.5584, allocations: 29.59 kB / 0.7404 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.5585, allocations: 11 kB / 0.7404 GB, free: 10.18 MB / 0.5606 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.000106/0.5586, allocations: 136.7 kB / 0.7405 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5587, allocations: 28.05 kB / 0.7405 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.5592, allocations: 284.1 kB / 0.7408 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5592, allocations: 7.844 kB / 0.7408 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5592, allocations: 0 / 0.7408 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5592, allocations: 0 / 0.7408 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.5598, allocations: 0.579 MB / 0.7414 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5598, allocations: 7.312 kB / 0.7414 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.56, allocations: 39.31 kB / 0.7414 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.56, allocations: 2.188 kB / 0.7414 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.5601, allocations: 3.094 kB / 0.7414 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5601, allocations: 0 / 0.7414 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5601, allocations: 2.719 kB / 0.7414 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.5605, allocations: 353.6 kB / 0.7418 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.5606, allocations: 117.9 kB / 0.7419 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.5607, allocations: 2.906 kB / 0.7419 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.5609, allocations: 15.05 kB / 0.7419 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.5609, allocations: 21.11 kB / 0.7419 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.561, allocations: 7.969 kB / 0.7419 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001191/0.5611, allocations: 154.9 kB / 0.7421 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5611, allocations: 4 kB / 0.7421 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004363/0.5615, allocations: 111.1 kB / 0.7422 GB, free: 9.051 MB / 0.5606 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.0009214/0.5625, allocations: 0.9979 MB / 0.7432 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.5628, allocations: 225.1 kB / 0.7434 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5628, allocations: 2.281 kB / 0.7434 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.5629, allocations: 107.2 kB / 0.7435 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.5635, allocations: 95.73 kB / 0.7436 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.5659, allocations: 2.553 MB / 0.7461 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.5661, allocations: 0.7388 MB / 0.7468 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000276/0.5664, allocations: 56.44 kB / 0.7468 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.5665, allocations: 59.02 kB / 0.7469 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5665, allocations: 0 / 0.7469 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.966/2.532, allocations: 7.558 MB / 0.7543 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/2.532, allocations: 180.2 kB / 0.7544 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/4.545, allocations: 7.938 kB / 0.7545 GB, free: 14.09 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)