Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.0009983/0.0009983, allocations: 172.5 kB / 7.646 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.7717/0.7717, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.472/1.472, 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.0009453/0.0009453, allocations: 104.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.367e-05, allocations: 4 kB / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4721, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.619, allocations: 111.4 MB / 0.7427 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.6193, allocations: 75.95 kB / 0.7427 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006846/0.6262, allocations: 2.397 MB / 0.7451 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6262, allocations: 0 / 0.7451 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6262, allocations: 4 kB / 0.7451 GB, free: 8.957 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004001/0.6266, allocations: 362.3 kB / 0.7454 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6267, allocations: 12.03 kB / 0.7454 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.6267, allocations: 4 kB / 0.7454 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6269, allocations: 178.9 kB / 0.7456 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/0.6269, allocations: 33.64 kB / 0.7456 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.627, allocations: 4 kB / 0.7456 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.466e-05/0.627, allocations: 23.98 kB / 0.7457 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.6271, allocations: 45.69 kB / 0.7457 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.6272, allocations: 0 / 0.7457 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.6272, allocations: 0 / 0.7457 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6272, allocations: 4 kB / 0.7457 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.6277, allocations: 281.3 kB / 0.746 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.401e-05/0.6277, allocations: 42.55 kB / 0.746 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.6278, allocations: 16.86 kB / 0.746 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.6278, allocations: 4 kB / 0.746 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.6278, allocations: 30.56 kB / 0.7461 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6278, allocations: 0 / 0.7461 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001406/0.628, allocations: 57.69 kB / 0.7461 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.628, allocations: 51.41 kB / 0.7462 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/0.6281, allocations: 101 kB / 0.7463 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.6281, allocations: 29.64 kB / 0.7463 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.6282, allocations: 92.12 kB / 0.7464 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.6282, allocations: 15.75 kB / 0.7464 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.6282, allocations: 0 / 0.7464 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6283, allocations: 322.8 kB / 0.7467 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.6283, allocations: 8 kB / 0.7467 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.6284, allocations: 17.72 kB / 0.7467 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/0.6284, allocations: 15.98 kB / 0.7468 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.6284, allocations: 0 / 0.7468 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.668e-05/0.6285, allocations: 65.53 kB / 0.7468 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6285, allocations: 9.812 kB / 0.7468 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.6285, allocations: 0 / 0.7468 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6285, allocations: 0 / 0.7468 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.6287, allocations: 15.98 kB / 0.7468 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.6287, allocations: 4 kB / 0.7468 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.6287, allocations: 4.125 kB / 0.7468 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.6287, allocations: 15.94 kB / 0.7469 GB, free: 6.918 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 (5): * Single equations (assignments): 5 * 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 6.619e-05/0.6288, allocations: 113 kB / 0.747 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.152e-05/0.6289, allocations: 45.7 kB / 0.747 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.6289, allocations: 3.906 kB / 0.747 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.629, allocations: 16.33 kB / 0.747 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.629, allocations: 0 / 0.747 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.629, allocations: 3.938 kB / 0.747 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.629, allocations: 0 / 0.747 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.6291, allocations: 154.2 kB / 0.7472 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6291, allocations: 0 / 0.7472 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.6292, allocations: 19.98 kB / 0.7472 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.6292, allocations: 0 / 0.7472 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.6293, allocations: 0 / 0.7472 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6293, allocations: 0 / 0.7472 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6293, allocations: 0 / 0.7472 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.6294, allocations: 155.4 kB / 0.7474 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.6294, allocations: 81.09 kB / 0.7474 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.6294, allocations: 0 / 0.7474 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6296, allocations: 19.98 kB / 0.7474 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.6296, allocations: 0 / 0.7474 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.6296, allocations: 4 kB / 0.7475 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.6297, allocations: 87.27 kB / 0.7475 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6297, allocations: 0 / 0.7475 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002406/0.6299, allocations: 11.94 kB / 0.7475 GB, free: 6.133 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 (4): * Single equations (assignments): 4 * 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.0003433/0.6303, allocations: 0.6891 MB / 0.7482 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.276e-05/0.6304, allocations: 24 kB / 0.7482 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6304, allocations: 0 / 0.7482 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.6304, allocations: 15.94 kB / 0.7483 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.6306, allocations: 7.984 kB / 0.7483 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.631, allocations: 113.6 kB / 0.7484 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.6312, allocations: 0.6846 MB / 0.749 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.6312, allocations: 7.938 kB / 0.749 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.6313, allocations: 19.42 kB / 0.7491 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6313, allocations: 0 / 0.7491 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.6506, allocations: 1.155 MB / 0.7502 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.6509, allocations: 137 kB / 0.7503 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.161, allocations: 0 / 0.7503 GB, free: 3.152 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)