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.006284/0.006285, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7591/0.7591, allocations: 135.2 MB / 151 MB, free: 13.84 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.501/1.501, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.0008813/0.0008813, allocations: 102.1 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003815, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4503, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.054/4.504, allocations: 1.678 GB / 2.327 GB, free: 40.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/4.505, allocations: 90.62 kB / 2.327 GB, free: 40.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6115/5.116, allocations: 56.24 MB / 2.382 GB, free: 244.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.445e-06/5.116, allocations: 3.969 kB / 2.382 GB, free: 244.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.402e-05/5.116, allocations: 0 / 2.382 GB, free: 244.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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008832/5.117, allocations: 483.6 kB / 2.383 GB, free: 244.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.955e-05/5.117, allocations: 11.09 kB / 2.383 GB, free: 244.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/5.117, allocations: 36.19 kB / 2.383 GB, free: 244.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/5.118, allocations: 52.97 kB / 2.383 GB, free: 244.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/5.118, allocations: 207.8 kB / 2.383 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/5.118, allocations: 6.469 kB / 2.383 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/5.118, allocations: 10.84 kB / 2.383 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/5.119, allocations: 193 kB / 2.383 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/5.119, allocations: 2.062 kB / 2.383 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/5.119, allocations: 6.453 kB / 2.383 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/5.119, allocations: 3.156 kB / 2.383 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/5.119, allocations: 169.6 kB / 2.384 GB, free: 244.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/5.121, allocations: 0.8135 MB / 2.384 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/5.121, allocations: 152 kB / 2.384 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/5.121, allocations: 2.188 kB / 2.384 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/5.121, allocations: 37.72 kB / 2.384 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.547e-06/5.121, allocations: 2.031 kB / 2.384 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001995/5.123, allocations: 493.5 kB / 2.385 GB, free: 243.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/5.123, allocations: 58.94 kB / 2.385 GB, free: 243.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/5.123, allocations: 125.8 kB / 2.385 GB, free: 243.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/5.123, allocations: 25.7 kB / 2.385 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/5.123, allocations: 114.5 kB / 2.385 GB, free: 243 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/5.124, allocations: 30.3 kB / 2.385 GB, free: 243 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/5.124, allocations: 2.688 kB / 2.385 GB, free: 243 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001026/5.124, allocations: 320.8 kB / 2.386 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/5.124, allocations: 82.03 kB / 2.386 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/5.124, allocations: 128 kB / 2.386 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/5.124, allocations: 89.05 kB / 2.386 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/5.124, allocations: 0 / 2.386 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001022/5.125, allocations: 304.3 kB / 2.386 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/5.125, allocations: 10.86 kB / 2.386 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/5.125, allocations: 0 / 2.386 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006574/5.126, allocations: 88.86 kB / 2.386 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/5.126, allocations: 37.16 kB / 2.386 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/5.129, allocations: 1.571 MB / 2.388 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/5.129, allocations: 28 kB / 2.388 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/5.129, allocations: 7.484 kB / 2.388 GB, free: 241.3 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 () * Number of clocked 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 0.0001231/5.129, allocations: 129.3 kB / 2.388 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/5.129, allocations: 7.844 kB / 2.388 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/5.13, allocations: 327.3 kB / 2.388 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/5.13, allocations: 3.719 kB / 2.388 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/5.13, allocations: 0 / 2.388 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/5.13, allocations: 3.953 kB / 2.388 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/5.13, allocations: 231.9 kB / 2.389 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/5.13, allocations: 7.141 kB / 2.389 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/5.131, allocations: 43.81 kB / 2.389 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/5.131, allocations: 87.77 kB / 2.389 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/5.131, allocations: 3.719 kB / 2.389 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/5.133, allocations: 1.579 MB / 2.39 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/5.133, allocations: 11.89 kB / 2.39 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/5.134, allocations: 401.5 kB / 2.391 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/5.134, allocations: 90.75 kB / 2.391 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/5.134, allocations: 13.52 kB / 2.391 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/5.134, allocations: 19 kB / 2.391 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/5.134, allocations: 18.61 kB / 2.391 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/5.134, allocations: 6.719 kB / 2.391 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.035e-05/5.134, allocations: 109.5 kB / 2.391 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.134, allocations: 0 / 2.391 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005802/5.135, allocations: 88.42 kB / 2.391 GB, free: 239.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 () * Number of clocked 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.0021/5.137, allocations: 1.43 MB / 2.392 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009571/5.138, allocations: 326.2 kB / 2.393 GB, free: 238.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/5.138, allocations: 0 / 2.393 GB, free: 238.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005139/5.139, allocations: 247 kB / 2.393 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/5.139, allocations: 27.17 kB / 2.393 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/5.142, allocations: 1.64 MB / 2.395 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/5.142, allocations: 0.7133 MB / 2.395 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000168/5.142, allocations: 20.97 kB / 2.395 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/5.142, allocations: 34.16 kB / 2.395 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of SimCode: time 5.31e-07/5.142, allocations: 0 / 2.395 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/5.176, allocations: 13.99 MB / 2.409 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/5.177, allocations: 216.9 kB / 2.409 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/7.518, allocations: 0 / 2.409 GB, free: 230.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)