Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_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.001506/0.001506, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7692/0.7692, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.5 MB / 395.4 MB, free: 10.85 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.0009092/0.0009091, allocations: 104 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.104e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4919, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.6361, allocations: 112.9 MB / 0.7441 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.6364, allocations: 79.95 kB / 0.7442 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.6464, allocations: 3.484 MB / 0.7476 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.777e-06/0.6465, allocations: 7.922 kB / 0.7476 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.6465, allocations: 3.938 kB / 0.7476 GB, free: 6.254 MB / 0.5261 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.0005008/0.647, allocations: 394.3 kB / 0.748 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6471, allocations: 8.031 kB / 0.748 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.6473, allocations: 35.78 kB / 0.748 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.6475, allocations: 197.7 kB / 0.7482 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.6476, allocations: 33.69 kB / 0.7483 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.6476, allocations: 4 kB / 0.7483 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/0.6477, allocations: 51.94 kB / 0.7483 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.6479, allocations: 77.58 kB / 0.7484 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6479, allocations: 0 / 0.7484 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.6479, allocations: 4 kB / 0.7484 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.6479, allocations: 4 kB / 0.7484 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.6485, allocations: 337 kB / 0.7487 GB, free: 5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.6489, allocations: 114.6 kB / 0.7488 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.649, allocations: 24.86 kB / 0.7488 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.649, allocations: 3.938 kB / 0.7488 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.6491, allocations: 42.55 kB / 0.7489 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.6491, allocations: 0 / 0.7489 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0001713/0.6492, allocations: 77.77 kB / 0.749 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.6493, allocations: 55.41 kB / 0.749 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.6494, allocations: 109.2 kB / 0.7491 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.6494, allocations: 25.7 kB / 0.7491 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.6495, allocations: 108 kB / 0.7492 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.6495, allocations: 19.66 kB / 0.7493 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.6495, allocations: 0 / 0.7493 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6496, allocations: 318.8 kB / 0.7496 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.6497, allocations: 20 kB / 0.7496 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.6497, allocations: 29.72 kB / 0.7496 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.6498, allocations: 23.98 kB / 0.7496 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6498, allocations: 0 / 0.7496 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001205/0.6499, allocations: 77.53 kB / 0.7497 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6499, allocations: 11.94 kB / 0.7497 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6499, allocations: 0 / 0.7497 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6499, allocations: 3.953 kB / 0.7497 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.6501, allocations: 24.02 kB / 0.7497 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.6501, allocations: 0 / 0.7497 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.6502, allocations: 11.98 kB / 0.7498 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.6502, allocations: 4 kB / 0.7498 GB, free: 3.836 MB / 0.5261 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 () * 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 7.558e-05/0.6503, allocations: 104.9 kB / 0.7499 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001197/0.6504, allocations: 77.58 kB / 0.7499 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.6504, allocations: 7.953 kB / 0.7499 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.6505, allocations: 16.62 kB / 0.75 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6505, allocations: 0 / 0.75 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.6505, allocations: 0 / 0.75 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6505, allocations: 4 kB / 0.75 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.6507, allocations: 174 kB / 0.7501 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6507, allocations: 4 kB / 0.7501 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.6508, allocations: 15.98 kB / 0.7502 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6508, allocations: 0 / 0.7502 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6508, allocations: 4 kB / 0.7502 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.6508, allocations: 7.953 kB / 0.7502 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6508, allocations: 0 / 0.7502 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.651, allocations: 175.4 kB / 0.7503 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.651, allocations: 85.09 kB / 0.7504 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.6511, allocations: 0 / 0.7504 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.6512, allocations: 11.98 kB / 0.7504 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.6513, allocations: 15.94 kB / 0.7504 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.6513, allocations: 11.92 kB / 0.7504 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.6514, allocations: 94.41 kB / 0.7505 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6514, allocations: 0 / 0.7505 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000227/0.6516, allocations: 19.91 kB / 0.7506 GB, free: 2.941 MB / 0.5261 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 () * 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.000411/0.652, allocations: 0.705 MB / 0.7512 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.6521, allocations: 43.98 kB / 0.7513 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6521, allocations: 0 / 0.7513 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.6522, allocations: 24.17 kB / 0.7513 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.6525, allocations: 28.08 kB / 0.7513 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.6529, allocations: 166.4 kB / 0.7515 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.6532, allocations: 0.6963 MB / 0.7522 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.6533, allocations: 12.19 kB / 0.7522 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.6533, allocations: 23.42 kB / 0.7522 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6533, allocations: 4 kB / 0.7522 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.6742, allocations: 1.797 MB / 0.754 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.6745, allocations: 152.1 kB / 0.7541 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.291, allocations: 32 / 0.7541 GB, free: 15.18 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)