Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001008/0.001008, allocations: 175 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.7269/0.7269, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.664/1.664, allocations: 221.3 MB / 400.4 MB, free: 5.879 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.0009287/0.0009287, allocations: 93.92 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/4.016e-05, allocations: 3.125 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1761, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.534/4.71, allocations: 1.678 GB / 2.318 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/4.711, allocations: 82.41 kB / 2.318 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1074/4.818, allocations: 56.15 MB / 2.373 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/4.818, allocations: 224 / 2.373 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.842e-05/4.818, allocations: 3.938 kB / 2.373 GB, free: 169.1 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008824/4.819, allocations: 473.8 kB / 2.374 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/4.819, allocations: 8.031 kB / 2.374 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/4.819, allocations: 45.38 kB / 2.374 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/4.82, allocations: 47.84 kB / 2.374 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/4.82, allocations: 194.7 kB / 2.374 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/4.82, allocations: 11.86 kB / 2.374 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/4.82, allocations: 8 kB / 2.374 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/4.82, allocations: 157.8 kB / 2.374 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/4.82, allocations: 0 / 2.374 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/4.82, allocations: 0 / 2.374 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/4.82, allocations: 4 kB / 2.374 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/4.821, allocations: 89.41 kB / 2.374 GB, free: 168 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/4.822, allocations: 0.8233 MB / 2.375 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/4.822, allocations: 99.3 kB / 2.375 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/4.822, allocations: 59.61 kB / 2.375 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/4.822, allocations: 0 / 2.375 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/4.822, allocations: 34.56 kB / 2.375 GB, free: 167 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/4.822, allocations: 4 kB / 2.375 GB, free: 167 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008069/4.823, allocations: 194.7 kB / 2.375 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/4.823, allocations: 59.41 kB / 2.375 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/4.823, allocations: 130.3 kB / 2.376 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/4.823, allocations: 29.64 kB / 2.376 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/4.823, allocations: 111.2 kB / 2.376 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/4.823, allocations: 31.11 kB / 2.376 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/4.823, allocations: 0 / 2.376 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/4.823, allocations: 326.3 kB / 2.376 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/4.823, allocations: 38.38 kB / 2.376 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/4.823, allocations: 88.05 kB / 2.376 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.149e-05/4.823, allocations: 50.42 kB / 2.376 GB, free: 166 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/4.823, allocations: 4 kB / 2.376 GB, free: 166 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006891/4.824, allocations: 222.3 kB / 2.376 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/4.824, allocations: 8 kB / 2.376 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/4.824, allocations: 4.125 kB / 2.376 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/4.825, allocations: 84.27 kB / 2.377 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/4.825, allocations: 39.95 kB / 2.377 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/4.827, allocations: 1.559 MB / 2.378 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/4.827, allocations: 31.69 kB / 2.378 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/4.827, allocations: 4 kB / 2.378 GB, free: 164.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/4.827, allocations: 117 kB / 2.378 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/4.827, allocations: 7.906 kB / 2.378 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007016/4.828, allocations: 256.2 kB / 2.378 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/4.828, allocations: 0 / 2.378 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/4.828, allocations: 0 / 2.378 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/4.828, allocations: 0 / 2.378 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/4.828, allocations: 238.3 kB / 2.379 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/4.828, allocations: 0 / 2.379 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/4.828, allocations: 35.97 kB / 2.379 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/4.829, allocations: 99.64 kB / 2.379 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/4.829, allocations: 3.5 kB / 2.379 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/4.83, allocations: 1.576 MB / 2.38 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/4.83, allocations: 4.062 kB / 2.38 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/4.831, allocations: 324.8 kB / 2.381 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/4.831, allocations: 92.92 kB / 2.381 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/4.831, allocations: 3.562 kB / 2.381 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/4.831, allocations: 20.05 kB / 2.381 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/4.831, allocations: 19.41 kB / 2.381 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/4.831, allocations: 4 kB / 2.381 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.317e-05/4.831, allocations: 108 kB / 2.381 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/4.831, allocations: 4 kB / 2.381 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005677/4.832, allocations: 89.3 kB / 2.381 GB, free: 161.2 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/4.834, allocations: 1.354 MB / 2.382 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005899/4.834, allocations: 254.9 kB / 2.383 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/4.834, allocations: 0 / 2.383 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/4.835, allocations: 206.9 kB / 2.383 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/4.835, allocations: 30.62 kB / 2.383 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/4.836, allocations: 253.3 kB / 2.383 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/4.836, allocations: 0.7165 MB / 2.384 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001745/4.836, allocations: 24.81 kB / 2.384 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/4.836, allocations: 36.8 kB / 2.384 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of SimCode: time 5.31e-07/4.836, allocations: 0 / 2.384 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/4.87, allocations: 15.83 MB / 2.399 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/4.87, allocations: 192.5 kB / 2.399 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/6.989, allocations: 0 / 2.399 GB, free: 142.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)