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.008101/0.008101, allocations: 170.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7597/0.7597, 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.45/1.45, allocations: 223.2 MB / 406.8 MB, free: 3.172 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.001006/0.001006, allocations: 108.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4261, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.022/4.448, allocations: 1.694 GB / 2.344 GB, free: 24.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/4.448, allocations: 87.95 kB / 2.344 GB, free: 23.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7131/5.162, allocations: 86.49 MB / 2.428 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.978e-06/5.162, allocations: 4 kB / 2.428 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.587e-05/5.162, allocations: 0 / 2.428 GB, free: 213.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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001019/5.163, allocations: 0.5162 MB / 2.429 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/5.163, allocations: 8.031 kB / 2.429 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/5.163, allocations: 46.55 kB / 2.429 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007986/5.164, allocations: 83.72 kB / 2.429 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/5.164, allocations: 222.5 kB / 2.429 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/5.164, allocations: 42.02 kB / 2.429 GB, free: 212.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/5.164, allocations: 20 kB / 2.429 GB, free: 212.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/5.165, allocations: 262.6 kB / 2.429 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/5.165, allocations: 0 / 2.429 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/5.165, allocations: 8 kB / 2.429 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/5.165, allocations: 7.938 kB / 2.429 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/5.165, allocations: 175.8 kB / 2.429 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/5.167, allocations: 1.188 MB / 2.431 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/5.167, allocations: 218.6 kB / 2.431 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/5.167, allocations: 0 / 2.431 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/5.167, allocations: 34.56 kB / 2.431 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 8.91e-07/5.167, allocations: 0 / 2.431 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0027/5.17, allocations: 0.6456 MB / 2.431 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/5.17, allocations: 55.39 kB / 2.432 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/5.17, allocations: 186.8 kB / 2.432 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/5.17, allocations: 25.7 kB / 2.432 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/5.171, allocations: 143.6 kB / 2.432 GB, free: 209 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/5.171, allocations: 43.36 kB / 2.432 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/5.171, allocations: 4 kB / 2.432 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/5.171, allocations: 330.8 kB / 2.432 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/5.171, allocations: 72.33 kB / 2.432 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/5.171, allocations: 141.3 kB / 2.432 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/5.171, allocations: 87.98 kB / 2.433 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/5.171, allocations: 3.938 kB / 2.433 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001458/5.173, allocations: 387.6 kB / 2.433 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/5.173, allocations: 12.03 kB / 2.433 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/5.173, allocations: 3.938 kB / 2.433 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/5.174, allocations: 165.5 kB / 2.433 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/5.174, allocations: 47.89 kB / 2.433 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/5.178, allocations: 3.05 MB / 2.436 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/5.178, allocations: 35.89 kB / 2.436 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/5.178, allocations: 15.98 kB / 2.436 GB, free: 204.3 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 () * Number of clocked 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 0.0001599/5.178, allocations: 129.7 kB / 2.436 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/5.178, allocations: 15.81 kB / 2.436 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/5.18, allocations: 397.5 kB / 2.437 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/5.18, allocations: 0 / 2.437 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/5.18, allocations: 0 / 2.437 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/5.18, allocations: 0 / 2.437 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/5.18, allocations: 269.5 kB / 2.437 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/5.18, allocations: 0 / 2.437 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/5.18, allocations: 27.92 kB / 2.437 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009598/5.181, allocations: 165.5 kB / 2.437 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/5.181, allocations: 3.953 kB / 2.437 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/5.184, allocations: 3.112 MB / 2.44 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/5.184, allocations: 0 / 2.44 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/5.185, allocations: 438 kB / 2.441 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/5.186, allocations: 116.9 kB / 2.441 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/5.186, allocations: 0 / 2.441 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/5.186, allocations: 31.91 kB / 2.441 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/5.186, allocations: 19.89 kB / 2.441 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/5.186, allocations: 11.92 kB / 2.441 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001562/5.186, allocations: 147.6 kB / 2.441 GB, free: 199 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/5.186, allocations: 4 kB / 2.441 GB, free: 199 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000734/5.187, allocations: 127.9 kB / 2.441 GB, free: 198.9 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 (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.002334/5.189, allocations: 1.573 MB / 2.443 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001135/5.19, allocations: 457.5 kB / 2.443 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/5.191, allocations: 4 kB / 2.443 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007224/5.191, allocations: 363.2 kB / 2.443 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/5.192, allocations: 48.14 kB / 2.443 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/5.196, allocations: 2.386 MB / 2.446 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/5.196, allocations: 0.7362 MB / 2.446 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002574/5.197, allocations: 41.81 kB / 2.446 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/5.197, allocations: 55.41 kB / 2.447 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/5.197, allocations: 0 / 2.447 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/5.234, allocations: 18.53 MB / 2.465 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/5.234, allocations: 200.1 kB / 2.465 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/7.739, allocations: 0 / 2.465 GB, free: 174.5 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)