Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006454/0.006454, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9619/0.9619, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 406.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.000912, allocations: 96.45 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4185, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.5645, allocations: 113.6 MB / 0.7605 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5648, allocations: 79.95 kB / 0.7605 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.5753, allocations: 3.499 MB / 0.7639 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5754, allocations: 4 kB / 0.7639 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.5754, allocations: 0 / 0.7639 GB, free: 14.8 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006352/0.5761, allocations: 414.9 kB / 0.7643 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5761, allocations: 12.03 kB / 0.7644 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/0.5762, allocations: 38.55 kB / 0.7644 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.5764, allocations: 39.78 kB / 0.7644 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.5767, allocations: 186.9 kB / 0.7646 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/0.5768, allocations: 37.69 kB / 0.7646 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5768, allocations: 12 kB / 0.7647 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.5771, allocations: 106.6 kB / 0.7648 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5772, allocations: 4 kB / 0.7648 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.5772, allocations: 4 kB / 0.7648 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5772, allocations: 0 / 0.7648 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.5775, allocations: 87.94 kB / 0.7648 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.5782, allocations: 380.4 kB / 0.7652 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.5788, allocations: 146.5 kB / 0.7654 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5788, allocations: 0 / 0.7654 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.5788, allocations: 34.55 kB / 0.7654 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.5788, allocations: 0 / 0.7654 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0004705/0.5793, allocations: 153.8 kB / 0.7655 GB, free: 13 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.5794, allocations: 59.34 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.5795, allocations: 122.4 kB / 0.7657 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.5795, allocations: 25.7 kB / 0.7657 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.5796, allocations: 104.2 kB / 0.7658 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.5797, allocations: 23.66 kB / 0.7659 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5797, allocations: 0 / 0.7659 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5798, allocations: 318.8 kB / 0.7662 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.58, allocations: 35.97 kB / 0.7662 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.5801, allocations: 53.69 kB / 0.7662 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.5802, allocations: 31.98 kB / 0.7663 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5802, allocations: 4 kB / 0.7663 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003152/0.5806, allocations: 121.5 kB / 0.7664 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.5806, allocations: 13.05 kB / 0.7664 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5806, allocations: 0 / 0.7664 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.5806, allocations: 0 / 0.7664 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.5808, allocations: 23.92 kB / 0.7664 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5808, allocations: 0 / 0.7664 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.5809, allocations: 31.8 kB / 0.7665 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.5809, allocations: 4 kB / 0.7665 GB, free: 12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001243/0.581, allocations: 117.8 kB / 0.7666 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.5811, allocations: 7.906 kB / 0.7666 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.5812, allocations: 16.61 kB / 0.7666 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5812, allocations: 7.984 kB / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5812, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5812, allocations: 0 / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.5815, allocations: 201.6 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5815, allocations: 0 / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.5816, allocations: 19.98 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5816, allocations: 0 / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.5816, allocations: 0 / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5816, allocations: 7.953 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5816, allocations: 0 / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.582, allocations: 212 kB / 0.767 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.5821, allocations: 85.02 kB / 0.7671 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.5821, allocations: 0 / 0.7671 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.5822, allocations: 15.98 kB / 0.7671 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.5823, allocations: 19.88 kB / 0.7671 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5823, allocations: 4 kB / 0.7671 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.5824, allocations: 104.5 kB / 0.7672 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5824, allocations: 0 / 0.7672 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002328/0.5826, allocations: 19.98 kB / 0.7673 GB, free: 11.08 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005749/0.5832, allocations: 0.7476 MB / 0.768 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.5835, allocations: 79.89 kB / 0.7681 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5835, allocations: 0 / 0.7681 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.5836, allocations: 43.97 kB / 0.7681 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.584, allocations: 28 kB / 0.7681 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.5848, allocations: 0.5926 MB / 0.7687 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.5851, allocations: 0.6965 MB / 0.7694 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.822e-05/0.5852, allocations: 8.672 kB / 0.7694 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.5852, allocations: 35.36 kB / 0.7694 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.5852, allocations: 0 / 0.7694 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.5979, allocations: 2.326 MB / 0.7717 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.5982, allocations: 189.2 kB / 0.7719 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.25, allocations: 0 / 0.7719 GB, free: 6.336 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)