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.001252/0.001252, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001691/0.001691, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003335, allocations: 9.438 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4911, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1671/0.6582, allocations: 135.2 MB / 0.7152 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004184/0.6625, allocations: 3.332 MB / 0.7184 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.6627, allocations: 4 kB / 0.7184 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.6631, allocations: 39.77 kB / 0.7185 GB, free: 5.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.6636, allocations: 123.4 kB / 0.7186 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.6662, allocations: 0.6494 MB / 0.7192 GB, free: 4.848 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.6667, allocations: 407.6 kB / 0.7196 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.6668, allocations: 13.55 kB / 0.7196 GB, free: 4.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.6672, allocations: 179.2 kB / 0.7198 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.6675, allocations: 135.5 kB / 0.7199 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.6675, allocations: 11.98 kB / 0.7199 GB, free: 4.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.6693, allocations: 0.6625 MB / 0.7206 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.6694, allocations: 67.83 kB / 0.7206 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.6695, allocations: 69.58 kB / 0.7207 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008913/0.6704, allocations: 381.4 kB / 0.7211 GB, free: 2.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6704, allocations: 0 / 0.7211 GB, free: 2.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6705, allocations: 0 / 0.7211 GB, free: 2.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.6705, allocations: 0 / 0.7211 GB, free: 2.941 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.001105/0.6716, allocations: 0.5497 MB / 0.7216 GB, free: 2.344 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.6716, allocations: 8.031 kB / 0.7216 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.189e-05/0.6717, allocations: 54.55 kB / 0.7217 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.6728, allocations: 139.5 kB / 0.7218 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.6731, allocations: 210.8 kB / 0.722 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.6732, allocations: 16.38 kB / 0.722 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.6732, allocations: 16 kB / 0.722 GB, free: 1.859 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/0.6738, allocations: 342 kB / 0.7224 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6738, allocations: 0 / 0.7224 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.6738, allocations: 12 kB / 0.7224 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.6739, allocations: 19.98 kB / 0.7224 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.6744, allocations: 324 kB / 0.7227 GB, free: 1.156 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.001618/0.676, allocations: 1.113 MB / 0.7238 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.6765, allocations: 190.6 kB / 0.724 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.6767, allocations: 77 kB / 0.724 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/0.6772, allocations: 457.5 kB / 0.7245 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.6772, allocations: 42.56 kB / 0.7245 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 2.504e-06/0.6773, allocations: 0 / 0.7245 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0006549/0.6779, allocations: 260.6 kB / 0.7248 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.678, allocations: 59.39 kB / 0.7248 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.6782, allocations: 200.2 kB / 0.725 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.6782, allocations: 33.7 kB / 0.7251 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.6783, allocations: 144 kB / 0.7252 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.6784, allocations: 78.95 kB / 0.7253 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.6784, allocations: 4 kB / 0.7253 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6785, allocations: 330.8 kB / 0.7256 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.6787, allocations: 64.23 kB / 0.7256 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.6789, allocations: 168.7 kB / 0.7258 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.679, allocations: 95.84 kB / 0.7259 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.679, allocations: 112 / 0.7259 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005281/0.6796, allocations: 285.8 kB / 0.7262 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6796, allocations: 8 kB / 0.7262 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6796, allocations: 0 / 0.7262 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6796, allocations: 8.375 kB / 0.7262 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.6799, allocations: 55.92 kB / 0.7262 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.6799, allocations: 11.92 kB / 0.7262 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.6801, allocations: 31.59 kB / 0.7263 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.6802, allocations: 16 kB / 0.7263 GB, free: 13.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.6803, allocations: 139.2 kB / 0.7264 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.6804, allocations: 27.81 kB / 0.7265 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.681, allocations: 275.3 kB / 0.7267 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.681, allocations: 4 kB / 0.7267 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6811, allocations: 0 / 0.7267 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.6811, allocations: 3.953 kB / 0.7267 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.6818, allocations: 0.5817 MB / 0.7273 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6818, allocations: 0 / 0.7273 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.682, allocations: 36.05 kB / 0.7273 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.682, allocations: 0 / 0.7273 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.682, allocations: 11.95 kB / 0.7273 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6821, allocations: 0 / 0.7273 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6821, allocations: 4 kB / 0.7273 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.6826, allocations: 346.3 kB / 0.7277 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.6827, allocations: 128.7 kB / 0.7278 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.6828, allocations: 8 kB / 0.7278 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.683, allocations: 16.73 kB / 0.7278 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.683, allocations: 11.98 kB / 0.7278 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.6831, allocations: 12 kB / 0.7278 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001399/0.6832, allocations: 152.3 kB / 0.728 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6832, allocations: 0 / 0.728 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000527/0.6838, allocations: 111.9 kB / 0.7281 GB, free: 11.22 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 (linear and non-linear blocks): 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.6848, allocations: 0.9798 MB / 0.729 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003883/0.6852, allocations: 199.7 kB / 0.7292 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6852, allocations: 0 / 0.7292 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.6854, allocations: 103.9 kB / 0.7293 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.686, allocations: 99.3 kB / 0.7294 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.688, allocations: 1.342 MB / 0.7307 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.6884, allocations: 0.7366 MB / 0.7315 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003202/0.6887, allocations: 62.23 kB / 0.7315 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.6888, allocations: 59.41 kB / 0.7316 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.6888, allocations: 0 / 0.7316 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.7092, allocations: 7.105 MB / 0.7385 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.7094, allocations: 154.3 kB / 0.7387 GB, free: 376 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.543, allocations: 3.938 kB / 0.7387 GB, free: 372 kB / 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/linux/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) Environment - environmentSimulation: