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.001244/0.001244, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001344/0.001344, allocations: 195.1 kB / 16.25 MB, free: 6.617 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7682/0.7682, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.5 kB / 0.5013 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1704, allocations: 80.19 MB / 0.5797 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.4479/0.6184, allocations: 147 MB / 0.7232 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005542/0.624, allocations: 3.602 MB / 0.7267 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.6242, allocations: 1.5 kB / 0.7267 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.6246, allocations: 61.73 kB / 0.7268 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.6252, allocations: 124.6 kB / 0.7269 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.6284, allocations: 0.9453 MB / 0.7278 GB, free: 4.324 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.6289, allocations: 322.3 kB / 0.7281 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.629, allocations: 11.3 kB / 0.7281 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.6294, allocations: 187.8 kB / 0.7283 GB, free: 4.113 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.6296, allocations: 140.9 kB / 0.7285 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.6296, allocations: 11.12 kB / 0.7285 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.6321, allocations: 1.282 MB / 0.7297 GB, free: 3.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.6323, allocations: 71.19 kB / 0.7298 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.6324, allocations: 111 kB / 0.7299 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.634, allocations: 0.7309 MB / 0.7306 GB, free: 3.227 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.634, allocations: 4 kB / 0.7306 GB, free: 3.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.634, allocations: 0 / 0.7306 GB, free: 3.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.634, allocations: 0 / 0.7306 GB, free: 3.223 MB / 0.545 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.001145/0.6352, allocations: 0.5903 MB / 0.7312 GB, free: 2.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.6352, allocations: 10.31 kB / 0.7312 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.491e-05/0.6353, allocations: 55.83 kB / 0.7313 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.6365, allocations: 135.4 kB / 0.7314 GB, free: 2.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.6369, allocations: 219.3 kB / 0.7316 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.6369, allocations: 19.27 kB / 0.7316 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.6369, allocations: 22.31 kB / 0.7316 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/0.6376, allocations: 331.9 kB / 0.7319 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6376, allocations: 0 / 0.7319 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.6377, allocations: 16.03 kB / 0.732 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.6377, allocations: 13.52 kB / 0.732 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.6383, allocations: 321.8 kB / 0.7323 GB, free: 2.18 MB / 0.545 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.001621/0.6399, allocations: 1.112 MB / 0.7334 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.6405, allocations: 188.6 kB / 0.7335 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.6406, allocations: 86.02 kB / 0.7336 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005846/0.6412, allocations: 464.2 kB / 0.7341 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.6413, allocations: 41.38 kB / 0.7341 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.6413, allocations: 0 / 0.7341 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0006426/0.6419, allocations: 263.8 kB / 0.7344 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.642, allocations: 56.52 kB / 0.7344 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.6423, allocations: 200.3 kB / 0.7346 GB, free: 412 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.6423, allocations: 30.92 kB / 0.7346 GB, free: 380 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.6424, allocations: 148.5 kB / 0.7348 GB, free: 236 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.6424, allocations: 71.5 kB / 0.7348 GB, free: 180 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.6425, allocations: 53.56 kB / 0.7349 GB, free: 148 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6427, allocations: 326.4 kB / 0.7352 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.6428, allocations: 72.05 kB / 0.7353 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.643, allocations: 168 kB / 0.7354 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.6433, allocations: 257.4 kB / 0.7357 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6433, allocations: 4.109 kB / 0.7357 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004709/0.6438, allocations: 285.1 kB / 0.736 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.6438, allocations: 4.938 kB / 0.736 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6438, allocations: 5.25 kB / 0.736 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6438, allocations: 6.719 kB / 0.736 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.6441, allocations: 60.12 kB / 0.736 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.6441, allocations: 9.344 kB / 0.736 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.6444, allocations: 33.11 kB / 0.7361 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.6444, allocations: 13.22 kB / 0.7361 GB, free: 15.36 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.0001632/0.6446, allocations: 142.6 kB / 0.7362 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.6447, allocations: 21.47 kB / 0.7362 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.6452, allocations: 274.3 kB / 0.7365 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.6452, allocations: 9.188 kB / 0.7365 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6452, allocations: 0 / 0.7365 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6452, allocations: 0 / 0.7365 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007707/0.646, allocations: 0.585 MB / 0.7371 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.646, allocations: 1.469 kB / 0.7371 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.6462, allocations: 36.34 kB / 0.7371 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6462, allocations: 4.062 kB / 0.7371 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.6462, allocations: 7.594 kB / 0.7371 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.6462, allocations: 2.719 kB / 0.7371 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6462, allocations: 0 / 0.7371 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.6468, allocations: 360.4 kB / 0.7375 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.6469, allocations: 118.4 kB / 0.7376 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.6469, allocations: 5.594 kB / 0.7376 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.6472, allocations: 14.72 kB / 0.7376 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.6472, allocations: 11 kB / 0.7376 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.6473, allocations: 18.11 kB / 0.7376 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000131/0.6474, allocations: 154.1 kB / 0.7378 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6474, allocations: 0 / 0.7378 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005588/0.648, allocations: 111.9 kB / 0.7379 GB, free: 14.23 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.001299/0.6493, allocations: 0.9983 MB / 0.7389 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.6497, allocations: 212.5 kB / 0.7391 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6497, allocations: 1.25 kB / 0.7391 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.6499, allocations: 102.1 kB / 0.7392 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.6505, allocations: 105.8 kB / 0.7393 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.6536, allocations: 2.561 MB / 0.7418 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.654, allocations: 0.7373 MB / 0.7425 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003093/0.6543, allocations: 55.47 kB / 0.7425 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.6544, allocations: 60.8 kB / 0.7426 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.6544, allocations: 0 / 0.7426 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1669/0.8213, allocations: 7.557 MB / 0.75 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003742/0.8217, allocations: 173.1 kB / 0.7501 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.906, allocations: 0 / 0.7501 GB, free: 4.211 MB / 0.5606 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)