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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.001073, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001223/0.001223, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8014/0.8014, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.78 kB / 0.5014 GB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4622, allocations: 80.2 MB / 0.5797 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003049/0.4653, allocations: 1.941 MB / 0.5816 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.18/0.6454, allocations: 153.2 MB / 0.7312 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.6457, allocations: 7.938 kB / 0.7312 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.646, allocations: 23.8 kB / 0.7312 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.6465, allocations: 55.62 kB / 0.7313 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.6473, allocations: 240.2 kB / 0.7315 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.6477, allocations: 251.2 kB / 0.7317 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.6479, allocations: 72.52 kB / 0.7318 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.65, allocations: 244.3 kB / 0.732 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.6502, allocations: 91.66 kB / 0.7321 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.6502, allocations: 12 kB / 0.7321 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.6506, allocations: 191.7 kB / 0.7323 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.6507, allocations: 43.83 kB / 0.7324 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.6508, allocations: 83.59 kB / 0.7324 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.6513, allocations: 283.2 kB / 0.7327 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6513, allocations: 3.938 kB / 0.7327 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6513, allocations: 0 / 0.7327 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.6514, allocations: 4 kB / 0.7327 GB, free: 4.449 MB / 0.5606 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.001009/0.6524, allocations: 0.499 MB / 0.7332 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6524, allocations: 8.031 kB / 0.7332 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.6525, allocations: 54.55 kB / 0.7333 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000877/0.6534, allocations: 91.56 kB / 0.7333 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.6536, allocations: 218.7 kB / 0.7336 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.6537, allocations: 41.97 kB / 0.7336 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.6538, allocations: 16 kB / 0.7336 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.6543, allocations: 263.2 kB / 0.7339 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6543, allocations: 3.938 kB / 0.7339 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.6544, allocations: 12 kB / 0.7339 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6544, allocations: 4 kB / 0.7339 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.6548, allocations: 167.8 kB / 0.734 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.6564, allocations: 1.169 MB / 0.7352 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.6572, allocations: 206.6 kB / 0.7354 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.6574, allocations: 76.81 kB / 0.7355 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.6574, allocations: 3.984 kB / 0.7355 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.6575, allocations: 30.56 kB / 0.7355 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.6575, allocations: 4 kB / 0.7355 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002678/0.6602, allocations: 0.6219 MB / 0.7361 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.6602, allocations: 55.41 kB / 0.7362 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.6604, allocations: 202.3 kB / 0.7363 GB, free: 440 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.6605, allocations: 25.7 kB / 0.7364 GB, free: 408 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.6606, allocations: 139.6 kB / 0.7365 GB, free: 264 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.6606, allocations: 47.36 kB / 0.7365 GB, free: 216 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.6607, allocations: 41.69 kB / 0.7366 GB, free: 168 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6609, allocations: 326.8 kB / 0.7369 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.6611, allocations: 79.88 kB / 0.737 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.6613, allocations: 123.7 kB / 0.7371 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.6618, allocations: 214.6 kB / 0.7373 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6618, allocations: 0 / 0.7373 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001445/0.6632, allocations: 370.7 kB / 0.7376 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6633, allocations: 8 kB / 0.7377 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6633, allocations: 0 / 0.7377 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.6644, allocations: 161.8 kB / 0.7378 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.6646, allocations: 39.91 kB / 0.7378 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.6688, allocations: 3.251 MB / 0.741 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.6692, allocations: 39.83 kB / 0.7411 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.6692, allocations: 8 kB / 0.7411 GB, free: 11.2 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.6694, allocations: 133.7 kB / 0.7412 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.6695, allocations: 15.81 kB / 0.7412 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.6708, allocations: 372.2 kB / 0.7416 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6708, allocations: 0 / 0.7416 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.6708, allocations: 0 / 0.7416 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6708, allocations: 4.172 kB / 0.7416 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.6711, allocations: 273.4 kB / 0.7418 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6711, allocations: 3.938 kB / 0.7418 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.6713, allocations: 27.97 kB / 0.7419 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008054/0.6721, allocations: 137.6 kB / 0.742 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.6721, allocations: 0 / 0.742 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/0.6756, allocations: 3.308 MB / 0.7452 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6757, allocations: 0 / 0.7452 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.6769, allocations: 430.8 kB / 0.7456 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.677, allocations: 108.9 kB / 0.7457 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.6771, allocations: 3.938 kB / 0.7457 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.6774, allocations: 19.98 kB / 0.7458 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.6775, allocations: 19.97 kB / 0.7458 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.6775, allocations: 4 kB / 0.7458 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000174/0.6777, allocations: 155.2 kB / 0.7459 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.803e-06/0.6777, allocations: 0 / 0.7459 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004152/0.6781, allocations: 75.88 kB / 0.746 GB, free: 5.738 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001585/0.6797, allocations: 0.9728 MB / 0.747 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.6808, allocations: 449.5 kB / 0.7474 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6808, allocations: 0 / 0.7474 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.6814, allocations: 363.7 kB / 0.7477 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.6819, allocations: 62.58 kB / 0.7478 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.6868, allocations: 2.562 MB / 0.7503 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.6871, allocations: 0.7322 MB / 0.751 GB, free: 392 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.6873, allocations: 41.92 kB / 0.751 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.6874, allocations: 55.41 kB / 0.7511 GB, free: 296 kB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.6874, allocations: 3.938 kB / 0.7511 GB, free: 292 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.383/4.07, allocations: 7.025 MB / 0.758 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/4.07, allocations: 231.8 kB / 0.7582 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/6.155, allocations: 0 / 0.7582 GB, free: 9.281 MB / 0.5919 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/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)