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.001064/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001147/0.001147, allocations: 194.6 kB / 16.14 MB, free: 6.688 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8475/0.8475, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 64.62 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 80.92 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.3736/0.5149, allocations: 146.8 MB / 0.7272 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004381/0.5193, allocations: 3.674 MB / 0.7308 GB, free: 20 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.5195, allocations: 1.188 kB / 0.7308 GB, free: 20 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.5199, allocations: 61.06 kB / 0.7308 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.5203, allocations: 131.4 kB / 0.7309 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.5227, allocations: 0.935 MB / 0.7319 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.5233, allocations: 496.2 kB / 0.7323 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.5233, allocations: 13.98 kB / 0.7323 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.5238, allocations: 174.8 kB / 0.7325 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.5241, allocations: 138.9 kB / 0.7326 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.5241, allocations: 7.781 kB / 0.7326 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.5265, allocations: 1.532 MB / 0.7341 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.5266, allocations: 74.08 kB / 0.7342 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.5268, allocations: 105.6 kB / 0.7343 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.5283, allocations: 0.7353 MB / 0.735 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5284, allocations: 0 / 0.735 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5284, allocations: 0 / 0.735 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.5284, allocations: 9.062 kB / 0.735 GB, free: 14.27 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.001274/0.5297, allocations: 0.591 MB / 0.7356 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5297, allocations: 8.75 kB / 0.7356 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.205e-05/0.5298, allocations: 56.69 kB / 0.7357 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.531, allocations: 133.6 kB / 0.7358 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.5313, allocations: 221 kB / 0.736 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.5313, allocations: 20.2 kB / 0.736 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.5314, allocations: 15.25 kB / 0.7361 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.5319, allocations: 342.5 kB / 0.7364 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.532, allocations: 0 / 0.7364 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.532, allocations: 10.39 kB / 0.7364 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.532, allocations: 18.02 kB / 0.7364 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.5325, allocations: 325.8 kB / 0.7367 GB, free: 13.18 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.001607/0.5342, allocations: 1.109 MB / 0.7378 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.5346, allocations: 185.3 kB / 0.738 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.5348, allocations: 90.11 kB / 0.7381 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.5354, allocations: 461.9 kB / 0.7385 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5354, allocations: 39.5 kB / 0.7385 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/0.5354, allocations: 0 / 0.7385 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0006421/0.5361, allocations: 261.9 kB / 0.7388 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.5361, allocations: 58.22 kB / 0.7388 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.5363, allocations: 199.3 kB / 0.739 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.5364, allocations: 32.61 kB / 0.7391 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.5364, allocations: 144.2 kB / 0.7392 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.5365, allocations: 76.56 kB / 0.7393 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.5366, allocations: 48.95 kB / 0.7393 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5367, allocations: 332.3 kB / 0.7396 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.5368, allocations: 69.47 kB / 0.7397 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.537, allocations: 161.2 kB / 0.7399 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.5373, allocations: 260.1 kB / 0.7401 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5373, allocations: 1.438 kB / 0.7401 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00053/0.5379, allocations: 288.4 kB / 0.7404 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5379, allocations: 10.66 kB / 0.7404 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5379, allocations: 3.281 kB / 0.7404 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.538, allocations: 12.39 kB / 0.7404 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.5382, allocations: 51.95 kB / 0.7405 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.5383, allocations: 8.5 kB / 0.7405 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.5385, allocations: 34.55 kB / 0.7405 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.5385, allocations: 14.75 kB / 0.7405 GB, free: 10 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.0001436/0.5387, allocations: 137 kB / 0.7406 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.5388, allocations: 25.33 kB / 0.7407 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.5393, allocations: 269.8 kB / 0.7409 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5393, allocations: 5.906 kB / 0.7409 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5393, allocations: 0 / 0.7409 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5393, allocations: 1.75 kB / 0.7409 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.5401, allocations: 0.5941 MB / 0.7415 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5401, allocations: 0 / 0.7415 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.5403, allocations: 31.48 kB / 0.7415 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5403, allocations: 2.312 kB / 0.7415 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.5403, allocations: 5.375 kB / 0.7416 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5403, allocations: 2.75 kB / 0.7416 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5403, allocations: 0 / 0.7416 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.5408, allocations: 358.3 kB / 0.7419 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.5409, allocations: 118.3 kB / 0.742 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.541, allocations: 10.39 kB / 0.742 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.5412, allocations: 15.41 kB / 0.742 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.5413, allocations: 8.266 kB / 0.742 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.5413, allocations: 18.8 kB / 0.7421 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001263/0.5414, allocations: 156.3 kB / 0.7422 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5414, allocations: 0 / 0.7422 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005018/0.5419, allocations: 112.8 kB / 0.7423 GB, free: 8.695 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.001087/0.543, allocations: 0.9881 MB / 0.7433 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.5434, allocations: 214.9 kB / 0.7435 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5434, allocations: 6.594 kB / 0.7435 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.5436, allocations: 96.86 kB / 0.7436 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.5442, allocations: 98.16 kB / 0.7437 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.5469, allocations: 2.558 MB / 0.7462 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.5473, allocations: 0.7346 MB / 0.7469 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002944/0.5476, allocations: 57.33 kB / 0.7469 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.5477, allocations: 55.39 kB / 0.747 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5477, allocations: 0 / 0.747 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5546/1.102, allocations: 7.379 MB / 0.7542 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/1.103, allocations: 183.6 kB / 0.7544 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/3.233, allocations: 0 / 0.7544 GB, free: 14.04 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)