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.001197/0.001197, 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.8115/0.8115, allocations: 133.6 MB / 141.6 MB, free: 2.875 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.443/1.443, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009475/0.0009473, allocations: 110 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.081e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5028, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.658, allocations: 112.9 MB / 0.7441 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.6584, allocations: 79.95 kB / 0.7442 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.6692, allocations: 3.473 MB / 0.7476 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6693, allocations: 0 / 0.7476 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.6693, allocations: 0 / 0.7476 GB, free: 6.273 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.0005902/0.6699, allocations: 410.2 kB / 0.748 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6699, allocations: 8.031 kB / 0.748 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.6702, allocations: 31.78 kB / 0.748 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.6705, allocations: 190.9 kB / 0.7482 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.6706, allocations: 33.7 kB / 0.7482 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.6706, allocations: 4 kB / 0.7482 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001764/0.6708, allocations: 55.98 kB / 0.7483 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.6709, allocations: 83.33 kB / 0.7484 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6709, allocations: 0 / 0.7484 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.671, allocations: 0 / 0.7484 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.671, allocations: 4 kB / 0.7484 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.6717, allocations: 349 kB / 0.7487 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.6723, allocations: 114.7 kB / 0.7488 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.6724, allocations: 24.86 kB / 0.7489 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.6724, allocations: 0 / 0.7489 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.6725, allocations: 38.52 kB / 0.7489 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.6725, allocations: 0 / 0.7489 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002467/0.6727, allocations: 69.62 kB / 0.749 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.6728, allocations: 55.41 kB / 0.749 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.673, allocations: 112.5 kB / 0.7491 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.673, allocations: 29.7 kB / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.6731, allocations: 100 kB / 0.7492 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.6732, allocations: 27.64 kB / 0.7493 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.6732, allocations: 0 / 0.7493 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002521/0.6734, allocations: 318.8 kB / 0.7496 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.6735, allocations: 20 kB / 0.7496 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.6736, allocations: 29.86 kB / 0.7496 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.6736, allocations: 20 kB / 0.7496 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6736, allocations: 0 / 0.7496 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001571/0.6738, allocations: 81.75 kB / 0.7497 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.6738, allocations: 8 kB / 0.7497 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6739, allocations: 3.938 kB / 0.7497 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.6739, allocations: 3.953 kB / 0.7497 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.674, allocations: 23.98 kB / 0.7498 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.674, allocations: 0 / 0.7498 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/0.6741, allocations: 16.02 kB / 0.7498 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.6742, allocations: 4 kB / 0.7498 GB, free: 3.84 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 0.0001131/0.6743, allocations: 101 kB / 0.7499 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001651/0.6745, allocations: 77.53 kB / 0.7499 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.6745, allocations: 7.953 kB / 0.7499 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.6745, allocations: 8.625 kB / 0.75 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6745, allocations: 4 kB / 0.75 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.6746, allocations: 7.984 kB / 0.75 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6746, allocations: 4 kB / 0.75 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.6748, allocations: 182 kB / 0.7501 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6748, allocations: 0 / 0.7501 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.6749, allocations: 15.98 kB / 0.7502 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6749, allocations: 4 kB / 0.7502 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.675, allocations: 0 / 0.7502 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.675, allocations: 7.891 kB / 0.7502 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.675, allocations: 0 / 0.7502 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.6752, allocations: 175.4 kB / 0.7503 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.6753, allocations: 81.11 kB / 0.7504 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.6753, allocations: 0 / 0.7504 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.6755, allocations: 15.98 kB / 0.7504 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.6755, allocations: 11.92 kB / 0.7504 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.6756, allocations: 4 kB / 0.7504 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.609e-05/0.6756, allocations: 91.27 kB / 0.7505 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6756, allocations: 4 kB / 0.7505 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002372/0.6759, allocations: 19.91 kB / 0.7506 GB, free: 2.949 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.0006529/0.6766, allocations: 0.7007 MB / 0.7512 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.6767, allocations: 47.94 kB / 0.7513 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6767, allocations: 0 / 0.7513 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/0.6768, allocations: 28.06 kB / 0.7513 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.6772, allocations: 21.66 kB / 0.7513 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.6779, allocations: 170.3 kB / 0.7515 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.6784, allocations: 0.7002 MB / 0.7522 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.663e-05/0.6784, allocations: 8.188 kB / 0.7522 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.6785, allocations: 27.42 kB / 0.7522 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.6785, allocations: 0 / 0.7522 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.699, allocations: 1.808 MB / 0.754 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.6993, allocations: 148.9 kB / 0.7541 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.247, allocations: 0 / 0.7541 GB, free: 15.19 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)