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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, 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.001113/0.001113, allocations: 195.6 kB / 16.14 MB, free: 6.688 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.122/1.122, 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-master/package.mo): time 0.7501/0.7501, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 64.22 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.116, allocations: 80.92 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002461/0.1185, allocations: 1.932 MB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3088/0.4273, allocations: 153.1 MB / 0.7352 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.4274, allocations: 3 kB / 0.7352 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.4276, allocations: 12.52 kB / 0.7352 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.4278, allocations: 61.36 kB / 0.7353 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.4283, allocations: 227.4 kB / 0.7355 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.4285, allocations: 247.9 kB / 0.7358 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.4287, allocations: 63.41 kB / 0.7358 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.4303, allocations: 235 kB / 0.736 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.4304, allocations: 85.66 kB / 0.7361 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.4304, allocations: 12.28 kB / 0.7361 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.4307, allocations: 181.1 kB / 0.7363 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.4308, allocations: 43.42 kB / 0.7363 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.4308, allocations: 77.16 kB / 0.7364 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.4311, allocations: 267 kB / 0.7367 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4311, allocations: 1.312 kB / 0.7367 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.61e-07/0.4311, allocations: 0 / 0.7367 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.4312, allocations: 0 / 0.7367 GB, free: 12.2 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.0007973/0.432, allocations: 0.5134 MB / 0.7372 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.432, allocations: 9.812 kB / 0.7372 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.432, allocations: 51.27 kB / 0.7372 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007805/0.4328, allocations: 91.42 kB / 0.7373 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.433, allocations: 218.6 kB / 0.7375 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.4331, allocations: 42.28 kB / 0.7376 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.4331, allocations: 17.62 kB / 0.7376 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.4336, allocations: 261.5 kB / 0.7378 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4336, allocations: 1.219 kB / 0.7378 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4337, allocations: 10.38 kB / 0.7378 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4337, allocations: 3.688 kB / 0.7378 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.4341, allocations: 169.1 kB / 0.738 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.4355, allocations: 1.171 MB / 0.7392 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.4361, allocations: 204.2 kB / 0.7393 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.4363, allocations: 67.69 kB / 0.7394 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.4363, allocations: 6.594 kB / 0.7394 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4364, allocations: 38.48 kB / 0.7395 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.4364, allocations: 4 kB / 0.7395 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002317/0.4387, allocations: 0.6224 MB / 0.7401 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.4387, allocations: 55.34 kB / 0.7401 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.4389, allocations: 197.4 kB / 0.7403 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.4389, allocations: 25.7 kB / 0.7403 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.439, allocations: 140.2 kB / 0.7405 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.4391, allocations: 48.84 kB / 0.7405 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.4391, allocations: 43.62 kB / 0.7406 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4392, allocations: 335.3 kB / 0.7409 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.4394, allocations: 69.08 kB / 0.7409 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.4397, allocations: 136.1 kB / 0.7411 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.44, allocations: 200.2 kB / 0.7413 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.44, allocations: 1.125 kB / 0.7413 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001296/0.4413, allocations: 375.6 kB / 0.7416 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4414, allocations: 7.625 kB / 0.7416 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4414, allocations: 2.406 kB / 0.7416 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009812/0.4423, allocations: 169.8 kB / 0.7418 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.4426, allocations: 38.86 kB / 0.7418 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.4458, allocations: 3.032 MB / 0.7448 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.4461, allocations: 26.95 kB / 0.7448 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.4461, allocations: 14.86 kB / 0.7448 GB, free: 5.367 MB / 0.5606 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.0001097/0.4463, allocations: 126.7 kB / 0.745 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.4463, allocations: 20.12 kB / 0.745 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.4475, allocations: 370.6 kB / 0.7453 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4475, allocations: 2.719 kB / 0.7453 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.4476, allocations: 0 / 0.7453 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4476, allocations: 7.922 kB / 0.7453 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.4478, allocations: 270.6 kB / 0.7456 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4478, allocations: 0 / 0.7456 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.448, allocations: 21.2 kB / 0.7456 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008787/0.4489, allocations: 165.3 kB / 0.7458 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4489, allocations: 0 / 0.7458 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.452, allocations: 3.076 MB / 0.7488 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.452, allocations: 0 / 0.7488 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4531, allocations: 431.6 kB / 0.7492 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.4532, allocations: 110.8 kB / 0.7493 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.4532, allocations: 12.75 kB / 0.7493 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.4535, allocations: 15.67 kB / 0.7493 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.4536, allocations: 27.7 kB / 0.7493 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4536, allocations: 8.344 kB / 0.7494 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001407/0.4537, allocations: 145.5 kB / 0.7495 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4537, allocations: 0 / 0.7495 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003297/0.4541, allocations: 69.38 kB / 0.7496 GB, free: 1.07 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 (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.001419/0.4555, allocations: 0.9772 MB / 0.7505 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000876/0.4564, allocations: 446.9 kB / 0.7509 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4564, allocations: 0 / 0.7509 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005859/0.457, allocations: 352.4 kB / 0.7513 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4574, allocations: 59.2 kB / 0.7513 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/0.4616, allocations: 2.558 MB / 0.7538 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.4619, allocations: 0.7286 MB / 0.7545 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.462, allocations: 35.34 kB / 0.7546 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.4621, allocations: 57.88 kB / 0.7546 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.4621, allocations: 6.469 kB / 0.7546 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.693/5.156, allocations: 6.746 MB / 0.7612 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/5.156, allocations: 233.4 kB / 0.7614 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/7.47, allocations: 0 / 0.7614 GB, free: 6.539 MB / 0.5762 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/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)