Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",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.002014/0.002014, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002283/0.002283, allocations: 191.3 kB / 16.66 MB, free: 6.582 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8482/0.8482, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 0.5808 GB, free: 8.109 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4499, allocations: 80.21 MB / 0.6592 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002307/0.4522, allocations: 1.475 MB / 0.6606 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.4534, allocations: 0.82 MB / 0.6614 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.4534, allocations: 0 / 0.6614 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.4535, allocations: 4.734 kB / 0.6614 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.4535, allocations: 19.09 kB / 0.6614 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.454, allocations: 129.9 kB / 0.6616 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.4541, allocations: 55.8 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.4542, allocations: 12.61 kB / 0.6616 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.4542, allocations: 19.62 kB / 0.6616 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.4543, allocations: 32.69 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.4543, allocations: 4.031 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.4547, allocations: 165.2 kB / 0.6618 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.4547, allocations: 7.922 kB / 0.6618 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.4547, allocations: 32.34 kB / 0.6619 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.455, allocations: 149 kB / 0.662 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.455, allocations: 1.438 kB / 0.662 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.455, allocations: 0 / 0.662 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.455, allocations: 0 / 0.662 GB, free: 8.078 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004641/0.4555, allocations: 399 kB / 0.6624 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4555, allocations: 9.375 kB / 0.6624 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.4556, allocations: 37.12 kB / 0.6624 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.4556, allocations: 10.98 kB / 0.6624 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.478e-05/0.4557, allocations: 172.8 kB / 0.6626 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4557, allocations: 2.688 kB / 0.6626 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.4557, allocations: 2.5 kB / 0.6626 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.456, allocations: 80.44 kB / 0.6627 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.456, allocations: 3.938 kB / 0.6627 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.456, allocations: 1.188 kB / 0.6627 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.456, allocations: 0 / 0.6627 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.4563, allocations: 69.86 kB / 0.6628 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.4566, allocations: 283.2 kB / 0.663 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.4568, allocations: 55.25 kB / 0.6631 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.457, allocations: 44.7 kB / 0.6631 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.4572, allocations: 92.72 kB / 0.6632 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.4572, allocations: 31.59 kB / 0.6632 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.4572, allocations: 0 / 0.6632 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005322/0.4577, allocations: 135.2 kB / 0.6634 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.4578, allocations: 56.48 kB / 0.6634 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.4578, allocations: 115.6 kB / 0.6635 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.4579, allocations: 26.89 kB / 0.6636 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.4579, allocations: 89.48 kB / 0.6637 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.4579, allocations: 9.281 kB / 0.6637 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.458, allocations: 29.61 kB / 0.6637 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.458, allocations: 320.5 kB / 0.664 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.4582, allocations: 28.89 kB / 0.664 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.4583, allocations: 29.88 kB / 0.6641 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.4586, allocations: 70.94 kB / 0.6641 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4586, allocations: 1.375 kB / 0.6641 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003055/0.4589, allocations: 98.22 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4589, allocations: 5.219 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4589, allocations: 0 / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4589, allocations: 9.25 kB / 0.6642 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4591, allocations: 17.89 kB / 0.6642 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4591, allocations: 3.984 kB / 0.6642 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.4592, allocations: 19.66 kB / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.4592, allocations: 1.188 kB / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.4592, allocations: 113 kB / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4592, allocations: 5.406 kB / 0.6644 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.4596, allocations: 105.9 kB / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4596, allocations: 0 / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4596, allocations: 1.531 kB / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4596, allocations: 0 / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.4598, allocations: 178.5 kB / 0.6647 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4598, allocations: 0 / 0.6647 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.4599, allocations: 26.7 kB / 0.6647 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4599, allocations: 4 kB / 0.6647 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.4599, allocations: 1.5 kB / 0.6647 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4599, allocations: 3.984 kB / 0.6647 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4599, allocations: 0 / 0.6647 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.4602, allocations: 201.7 kB / 0.6649 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.4603, allocations: 82.38 kB / 0.665 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.4603, allocations: 1.312 kB / 0.665 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4604, allocations: 17.94 kB / 0.665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.4605, allocations: 2.625 kB / 0.665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4605, allocations: 1.344 kB / 0.665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.4605, allocations: 94.94 kB / 0.6651 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4605, allocations: 0 / 0.6651 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002728/0.4608, allocations: 33.69 kB / 0.6651 GB, free: 5.176 MB / 0.4981 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006079/0.4614, allocations: 0.7582 MB / 0.6658 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.4618, allocations: 70.83 kB / 0.6659 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4618, allocations: 0 / 0.6659 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4619, allocations: 41.02 kB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4623, allocations: 15.06 kB / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.4638, allocations: 1.425 MB / 0.6674 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.4639, allocations: 0.6844 MB / 0.668 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.4639, allocations: 2.219 kB / 0.668 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.464, allocations: 19.3 kB / 0.668 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.464, allocations: 0 / 0.668 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.4855, allocations: 2.445 MB / 0.6704 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.419, allocations: 11.23 kB / 0.6704 GB, free: 1.074 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)