Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_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.0009573/0.0009573, allocations: 173.9 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.7596/0.7596, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.511/1.511, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008891/0.0008891, allocations: 101.6 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.765e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5014, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.971/4.473, allocations: 1.693 GB / 2.327 GB, free: 44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/4.473, allocations: 83.89 kB / 2.327 GB, free: 43.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5533/5.027, allocations: 85.15 MB / 2.41 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/5.027, allocations: 0 / 2.41 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.89e-05/5.027, allocations: 10.12 kB / 2.41 GB, free: 240.6 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.0009011/5.028, allocations: 0.4958 MB / 2.411 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/5.028, allocations: 15.47 kB / 2.411 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/5.028, allocations: 82.48 kB / 2.411 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/5.029, allocations: 222.7 kB / 2.411 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/5.029, allocations: 33.91 kB / 2.411 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/5.029, allocations: 10.12 kB / 2.411 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000245/5.029, allocations: 110.1 kB / 2.411 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/5.029, allocations: 222.5 kB / 2.412 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/5.029, allocations: 0 / 2.412 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/5.029, allocations: 7.438 kB / 2.412 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/5.029, allocations: 3.906 kB / 2.412 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/5.031, allocations: 1.133 MB / 2.413 GB, free: 238.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/5.032, allocations: 180 kB / 2.413 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/5.032, allocations: 58.78 kB / 2.413 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/5.032, allocations: 0 / 2.413 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/5.032, allocations: 42.45 kB / 2.413 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/5.032, allocations: 224 / 2.413 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.001173/5.033, allocations: 264 kB / 2.413 GB, free: 238.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/5.033, allocations: 51.41 kB / 2.413 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/5.033, allocations: 139.3 kB / 2.413 GB, free: 238.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/5.033, allocations: 25.7 kB / 2.413 GB, free: 238.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/5.033, allocations: 150.6 kB / 2.414 GB, free: 237.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/5.033, allocations: 35.23 kB / 2.414 GB, free: 237.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/5.033, allocations: 7.719 kB / 2.414 GB, free: 237.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.27e-05/5.033, allocations: 322.8 kB / 2.414 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/5.033, allocations: 51.39 kB / 2.414 GB, free: 237.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/5.034, allocations: 119.5 kB / 2.414 GB, free: 237.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/5.034, allocations: 54.84 kB / 2.414 GB, free: 237.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/5.034, allocations: 3.938 kB / 2.414 GB, free: 237.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001126/5.035, allocations: 321.6 kB / 2.415 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/5.035, allocations: 3.312 kB / 2.415 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/5.035, allocations: 6.984 kB / 2.415 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/5.036, allocations: 174.3 kB / 2.415 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/5.036, allocations: 39.69 kB / 2.415 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/5.039, allocations: 2.888 MB / 2.418 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/5.04, allocations: 38.47 kB / 2.418 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/5.04, allocations: 6.719 kB / 2.418 GB, free: 234.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 () * 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.0001068/5.04, allocations: 108 kB / 2.418 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001071/5.041, allocations: 264 kB / 2.418 GB, free: 234 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/5.041, allocations: 15.72 kB / 2.418 GB, free: 234 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/5.042, allocations: 335.2 kB / 2.418 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/5.042, allocations: 7.406 kB / 2.418 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/5.042, allocations: 0 / 2.418 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/5.042, allocations: 0 / 2.418 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/5.042, allocations: 237.8 kB / 2.419 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/5.042, allocations: 0 / 2.419 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/5.043, allocations: 21.11 kB / 2.419 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008961/5.043, allocations: 166.4 kB / 2.419 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/5.043, allocations: 3.938 kB / 2.419 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/5.046, allocations: 2.931 MB / 2.422 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.046, allocations: 3.5 kB / 2.422 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/5.047, allocations: 384 kB / 2.422 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.612e-05/5.047, allocations: 116.8 kB / 2.422 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/5.047, allocations: 3.953 kB / 2.422 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/5.048, allocations: 15.97 kB / 2.422 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/5.048, allocations: 15.98 kB / 2.422 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/5.048, allocations: 11.98 kB / 2.422 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.501e-05/5.048, allocations: 114.1 kB / 2.422 GB, free: 230 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/5.048, allocations: 4 kB / 2.422 GB, free: 230 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006116/5.049, allocations: 107.8 kB / 2.422 GB, free: 229.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 () * 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.002358/5.051, allocations: 1.657 MB / 2.424 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007769/5.052, allocations: 379.9 kB / 2.424 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/5.052, allocations: 0 / 2.424 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/5.052, allocations: 327.3 kB / 2.425 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/5.053, allocations: 31.97 kB / 2.425 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/5.054, allocations: 344.1 kB / 2.425 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/5.054, allocations: 0.7282 MB / 2.426 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002112/5.054, allocations: 41.23 kB / 2.426 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/5.054, allocations: 51.42 kB / 2.426 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/5.054, allocations: 4 kB / 2.426 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/5.084, allocations: 11.44 MB / 2.437 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/5.085, allocations: 155.7 kB / 2.437 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/7.119, allocations: 0 / 2.437 GB, free: 214.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)