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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 189.8 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7991/0.7991, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 65.34 kB / 0.5012 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1969, allocations: 80.21 MB / 0.5795 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002992/0.1999, allocations: 1.706 MB / 0.5812 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5553/0.7552, allocations: 147.4 MB / 0.7251 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.7555, allocations: 0.9688 kB / 0.7251 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.7557, allocations: 18.31 kB / 0.7251 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.756, allocations: 42.94 kB / 0.7252 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006711/0.7567, allocations: 157.2 kB / 0.7253 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.757, allocations: 154.8 kB / 0.7255 GB, free: 5.762 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.7571, allocations: 28.91 kB / 0.7255 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.7591, allocations: 168.8 kB / 0.7256 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.7592, allocations: 65.5 kB / 0.7257 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.7593, allocations: 5.75 kB / 0.7257 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.7596, allocations: 159.1 kB / 0.7259 GB, free: 5.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.7597, allocations: 28.33 kB / 0.7259 GB, free: 5.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.7597, allocations: 48.38 kB / 0.7259 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.7601, allocations: 187.5 kB / 0.7261 GB, free: 5.539 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7601, allocations: 3.938 kB / 0.7261 GB, free: 5.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7601, allocations: 0 / 0.7261 GB, free: 5.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.7601, allocations: 0 / 0.7261 GB, free: 5.535 MB / 0.545 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.0009587/0.7611, allocations: 465.4 kB / 0.7266 GB, free: 5.125 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7611, allocations: 8.688 kB / 0.7266 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.7612, allocations: 39.23 kB / 0.7266 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.7619, allocations: 62.03 kB / 0.7267 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.7621, allocations: 205.9 kB / 0.7269 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.7622, allocations: 4.578 kB / 0.7269 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.7622, allocations: 10.22 kB / 0.7269 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.7626, allocations: 186.2 kB / 0.7271 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7626, allocations: 0 / 0.7271 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.7627, allocations: 1.094 kB / 0.7271 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.7627, allocations: 3.5 kB / 0.7271 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.7632, allocations: 146.1 kB / 0.7272 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.7643, allocations: 0.818 MB / 0.728 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.7647, allocations: 143 kB / 0.7281 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.765, allocations: 76.31 kB / 0.7282 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.765, allocations: 1.031 kB / 0.7282 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.765, allocations: 42.14 kB / 0.7283 GB, free: 3.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.7651, allocations: 0 / 0.7283 GB, free: 3.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.002017/0.7671, allocations: 452.5 kB / 0.7287 GB, free: 3.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.7671, allocations: 53.55 kB / 0.7287 GB, free: 3.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.7673, allocations: 143.1 kB / 0.7289 GB, free: 3.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.7673, allocations: 34.67 kB / 0.7289 GB, free: 3.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.7674, allocations: 107.7 kB / 0.729 GB, free: 3.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.7674, allocations: 38.55 kB / 0.729 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.7675, allocations: 27.5 kB / 0.7291 GB, free: 3.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7676, allocations: 324.1 kB / 0.7294 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.7679, allocations: 66.91 kB / 0.7294 GB, free: 2.922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.7682, allocations: 104.5 kB / 0.7295 GB, free: 2.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.7687, allocations: 175.5 kB / 0.7297 GB, free: 2.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7687, allocations: 0 / 0.7297 GB, free: 2.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001023/0.7697, allocations: 273.8 kB / 0.73 GB, free: 2.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.7697, allocations: 9.219 kB / 0.73 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7697, allocations: 6.219 kB / 0.73 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.7704, allocations: 86.98 kB / 0.7301 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.7706, allocations: 43.28 kB / 0.7301 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.7727, allocations: 1.542 MB / 0.7316 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.773, allocations: 24.33 kB / 0.7316 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.773, allocations: 6.375 kB / 0.7316 GB, free: 1.227 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.7731, allocations: 131.1 kB / 0.7318 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.7732, allocations: 9.406 kB / 0.7318 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.7743, allocations: 315.1 kB / 0.7321 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7743, allocations: 5.5 kB / 0.7321 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.7743, allocations: 0 / 0.7321 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7743, allocations: 10.59 kB / 0.7321 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.7746, allocations: 239 kB / 0.7323 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7746, allocations: 1.688 kB / 0.7323 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.7748, allocations: 29.58 kB / 0.7324 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/0.7753, allocations: 85.14 kB / 0.7324 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.7753, allocations: 1.469 kB / 0.7324 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.7771, allocations: 1.569 MB / 0.734 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7771, allocations: 4.938 kB / 0.734 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.7782, allocations: 374.5 kB / 0.7343 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.7783, allocations: 88.17 kB / 0.7344 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.7783, allocations: 5.219 kB / 0.7344 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.7785, allocations: 18.19 kB / 0.7344 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.7786, allocations: 21.64 kB / 0.7345 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.7786, allocations: 2.938 kB / 0.7345 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.894e-05/0.7787, allocations: 112.7 kB / 0.7346 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7787, allocations: 1.531 kB / 0.7346 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003557/0.7791, allocations: 42.78 kB / 0.7346 GB, free: 14.88 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.7805, allocations: 0.9249 MB / 0.7355 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009702/0.7814, allocations: 303.9 kB / 0.7358 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7815, allocations: 0 / 0.7358 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.782, allocations: 237.4 kB / 0.736 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.7825, allocations: 29.02 kB / 0.7361 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.7869, allocations: 2.07 MB / 0.7381 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.7872, allocations: 0.711 MB / 0.7388 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.7874, allocations: 24.88 kB / 0.7388 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.7875, allocations: 39.28 kB / 0.7388 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of SimCode: time 1.974e-06/0.7876, allocations: 0 / 0.7388 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.8033, allocations: 4.281 MB / 0.743 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.8035, allocations: 232.6 kB / 0.7432 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.737, allocations: 0 / 0.7432 GB, free: 9.266 MB / 0.5606 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/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)