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.0007036/0.0007036, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.004397/0.004397, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.209/1.209, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6895/0.6895, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.37, allocations: 81.57 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1489/0.5189, allocations: 144.9 MB / 0.7253 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003864/0.5228, allocations: 3.618 MB / 0.7288 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.523, allocations: 4 kB / 0.7288 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.5234, allocations: 59.75 kB / 0.7289 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.5237, allocations: 127.3 kB / 0.729 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.5261, allocations: 0.9511 MB / 0.7299 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.5266, allocations: 495.5 kB / 0.7304 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.5267, allocations: 13.56 kB / 0.7304 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.527, allocations: 175.3 kB / 0.7306 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.5272, allocations: 143.5 kB / 0.7307 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.5272, allocations: 8 kB / 0.7307 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.5294, allocations: 1.527 MB / 0.7322 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.5295, allocations: 67.78 kB / 0.7323 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.5296, allocations: 129.3 kB / 0.7324 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.5307, allocations: 0.7384 MB / 0.7331 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5307, allocations: 4 kB / 0.7331 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5307, allocations: 0 / 0.7331 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5307, allocations: 3.938 kB / 0.7331 GB, free: 6.781 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.001035/0.5318, allocations: 0.5399 MB / 0.7337 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5318, allocations: 12.03 kB / 0.7337 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.486e-05/0.5319, allocations: 62.66 kB / 0.7337 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.533, allocations: 132.5 kB / 0.7339 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.5332, allocations: 223.8 kB / 0.7341 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.5333, allocations: 16.36 kB / 0.7341 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.5333, allocations: 16 kB / 0.7341 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.5338, allocations: 347.2 kB / 0.7344 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5339, allocations: 0 / 0.7344 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.5339, allocations: 8 kB / 0.7344 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.5339, allocations: 16 kB / 0.7345 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.5344, allocations: 320.1 kB / 0.7348 GB, free: 5 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.001393/0.5358, allocations: 1.109 MB / 0.7358 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.5363, allocations: 193.9 kB / 0.736 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.5364, allocations: 88.75 kB / 0.7361 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/0.537, allocations: 465.4 kB / 0.7366 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.537, allocations: 38.5 kB / 0.7366 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.537, allocations: 0 / 0.7366 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.000615/0.5376, allocations: 259 kB / 0.7368 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5377, allocations: 59.41 kB / 0.7369 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.5379, allocations: 208.2 kB / 0.7371 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.5379, allocations: 29.7 kB / 0.7371 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.538, allocations: 136 kB / 0.7373 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.5381, allocations: 82.84 kB / 0.7373 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.5381, allocations: 29.7 kB / 0.7374 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.5382, allocations: 326.8 kB / 0.7377 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5383, allocations: 68.22 kB / 0.7377 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.5385, allocations: 168.7 kB / 0.7379 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.5388, allocations: 251.6 kB / 0.7381 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5388, allocations: 3.938 kB / 0.7381 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004709/0.5393, allocations: 282.8 kB / 0.7384 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5393, allocations: 8.031 kB / 0.7384 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5393, allocations: 4 kB / 0.7384 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5393, allocations: 7.938 kB / 0.7384 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.5396, allocations: 51.92 kB / 0.7385 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.5396, allocations: 7.984 kB / 0.7385 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.5398, allocations: 35.69 kB / 0.7385 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.5398, allocations: 19.94 kB / 0.7385 GB, free: 0.7852 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.0001195/0.54, allocations: 139.3 kB / 0.7387 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.5401, allocations: 23.81 kB / 0.7387 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.5405, allocations: 275.1 kB / 0.739 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5406, allocations: 4 kB / 0.739 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5406, allocations: 0 / 0.739 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5406, allocations: 3.984 kB / 0.739 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.5413, allocations: 0.5916 MB / 0.7395 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5413, allocations: 0 / 0.7395 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.5414, allocations: 35.92 kB / 0.7396 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.5415, allocations: 0 / 0.7396 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.5415, allocations: 8 kB / 0.7396 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5415, allocations: 0 / 0.7396 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5415, allocations: 4 kB / 0.7396 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.542, allocations: 354.3 kB / 0.7399 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.5421, allocations: 120.8 kB / 0.74 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.5421, allocations: 4 kB / 0.74 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.5424, allocations: 19.98 kB / 0.7401 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.5424, allocations: 7.984 kB / 0.7401 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.5424, allocations: 16 kB / 0.7401 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001129/0.5426, allocations: 156.2 kB / 0.7402 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5426, allocations: 0 / 0.7402 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004534/0.543, allocations: 116 kB / 0.7403 GB, free: 14.82 MB / 0.5762 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.0009808/0.544, allocations: 0.9992 MB / 0.7413 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.5444, allocations: 204.3 kB / 0.7415 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5444, allocations: 4.062 kB / 0.7415 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.5445, allocations: 107.9 kB / 0.7416 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.5451, allocations: 88.05 kB / 0.7417 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.5477, allocations: 2.598 MB / 0.7442 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.548, allocations: 0.7367 MB / 0.745 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.5483, allocations: 54.25 kB / 0.745 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.5484, allocations: 59.36 kB / 0.7451 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.5484, allocations: 0 / 0.7451 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.7492, allocations: 7.286 MB / 0.7522 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/0.7495, allocations: 173.8 kB / 0.7524 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.218, allocations: 0 / 0.7524 GB, free: 2.41 MB / 0.5762 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)