Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001191/0.001191, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8082/0.8082, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.681/1.681, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008545/0.0008545, allocations: 91.39 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.011e-05, allocations: 2.719 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.52/4.67, allocations: 1.694 GB / 2.334 GB, free: 241.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/4.67, allocations: 87.94 kB / 2.335 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1679/4.838, allocations: 86.36 MB / 2.419 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.684e-06/4.838, allocations: 0 / 2.419 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.828e-05/4.838, allocations: 4 kB / 2.419 GB, free: 153.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008611/4.839, allocations: 0.4944 MB / 2.419 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/4.839, allocations: 12.03 kB / 2.419 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.771e-05/4.839, allocations: 54.55 kB / 2.419 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/4.84, allocations: 83.7 kB / 2.42 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/4.84, allocations: 218.8 kB / 2.42 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/4.84, allocations: 38.03 kB / 2.42 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/4.84, allocations: 12 kB / 2.42 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/4.841, allocations: 254.6 kB / 2.42 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/4.841, allocations: 11.94 kB / 2.42 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/4.841, allocations: 8 kB / 2.42 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/4.841, allocations: 4 kB / 2.42 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/4.841, allocations: 131.8 kB / 2.42 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/4.842, allocations: 1.181 MB / 2.421 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/4.843, allocations: 194.7 kB / 2.422 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/4.843, allocations: 56.84 kB / 2.422 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/4.843, allocations: 4 kB / 2.422 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/4.843, allocations: 30.56 kB / 2.422 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/4.843, allocations: 0 / 2.422 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.001214/4.845, allocations: 287.1 kB / 2.422 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/4.845, allocations: 51.41 kB / 2.422 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/4.845, allocations: 177.5 kB / 2.422 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/4.845, allocations: 29.7 kB / 2.422 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/4.845, allocations: 135.6 kB / 2.422 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/4.845, allocations: 47.39 kB / 2.422 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/4.845, allocations: 3.938 kB / 2.422 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/4.845, allocations: 330.8 kB / 2.423 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/4.845, allocations: 48.36 kB / 2.423 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/4.845, allocations: 123.3 kB / 2.423 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/4.845, allocations: 67.98 kB / 2.423 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/4.845, allocations: 0 / 2.423 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001168/4.847, allocations: 347.6 kB / 2.423 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/4.847, allocations: 4 kB / 2.423 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/4.847, allocations: 0 / 2.423 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/4.848, allocations: 169.8 kB / 2.423 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/4.848, allocations: 39.97 kB / 2.423 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/4.851, allocations: 3.021 MB / 2.426 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/4.851, allocations: 47.72 kB / 2.426 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/4.852, allocations: 11.98 kB / 2.426 GB, free: 145.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/4.852, allocations: 112.9 kB / 2.426 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/4.852, allocations: 15.81 kB / 2.427 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/4.853, allocations: 345.7 kB / 2.427 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/4.853, allocations: 8 kB / 2.427 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/4.853, allocations: 0 / 2.427 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/4.853, allocations: 7.984 kB / 2.427 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/4.853, allocations: 277.3 kB / 2.427 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/4.853, allocations: 0 / 2.427 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/4.853, allocations: 23.98 kB / 2.427 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008812/4.854, allocations: 169.5 kB / 2.427 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/4.854, allocations: 4 kB / 2.427 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/4.857, allocations: 3.072 MB / 2.43 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/4.857, allocations: 0 / 2.43 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/4.858, allocations: 417.7 kB / 2.431 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/4.858, allocations: 112.8 kB / 2.431 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/4.858, allocations: 4 kB / 2.431 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/4.858, allocations: 15.98 kB / 2.431 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/4.858, allocations: 19.97 kB / 2.431 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/4.858, allocations: 4 kB / 2.431 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001037/4.859, allocations: 147 kB / 2.431 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/4.859, allocations: 0 / 2.431 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006347/4.859, allocations: 127.9 kB / 2.431 GB, free: 140.4 MB / 0.6823 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/4.861, allocations: 1.552 MB / 2.433 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008186/4.862, allocations: 409.4 kB / 2.433 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/4.862, allocations: 0 / 2.433 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005718/4.863, allocations: 333.2 kB / 2.433 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/4.863, allocations: 56.09 kB / 2.433 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/4.864, allocations: 359.1 kB / 2.434 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/4.864, allocations: 0.7439 MB / 2.434 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002171/4.864, allocations: 41.98 kB / 2.435 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/4.865, allocations: 55.41 kB / 2.435 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/4.865, allocations: 0 / 2.435 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/4.904, allocations: 20.75 MB / 2.455 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/4.905, allocations: 187.4 kB / 2.455 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/7.253, allocations: 0 / 2.455 GB, free: 115.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)