Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_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.005152/0.005152, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001472/0.001472, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8491/0.8491, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003113/0.003113, allocations: 63.89 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4531, allocations: 80.21 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00235/0.4555, allocations: 1.26 MB / 0.6604 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4568, allocations: 0.835 MB / 0.6612 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.4568, allocations: 0 / 0.6612 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.4569, allocations: 0 / 0.6612 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.4569, allocations: 5.828 kB / 0.6612 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.4575, allocations: 131.2 kB / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.4576, allocations: 26.89 kB / 0.6614 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.4576, allocations: 2.297 kB / 0.6614 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.4577, allocations: 16.11 kB / 0.6614 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.4578, allocations: 7.625 kB / 0.6614 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.4578, allocations: 1.594 kB / 0.6614 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.4582, allocations: 169.5 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.4582, allocations: 6.688 kB / 0.6616 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.4582, allocations: 8.75 kB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.4585, allocations: 130.6 kB / 0.6617 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4585, allocations: 3.938 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4585, allocations: 1.5 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4585, allocations: 0 / 0.6617 GB, free: 8.191 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004459/0.459, allocations: 368.8 kB / 0.6621 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.459, allocations: 9.875 kB / 0.6621 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.4591, allocations: 36.64 kB / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.4591, allocations: 2.156 kB / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.673e-05/0.4592, allocations: 163.5 kB / 0.6623 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.4593, allocations: 34.17 kB / 0.6623 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.4593, allocations: 1.781 kB / 0.6623 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4595, allocations: 52.56 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.4595, allocations: 0 / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.4595, allocations: 0 / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4595, allocations: 1.25 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.815e-05/0.4596, allocations: 18.66 kB / 0.6624 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.4597, allocations: 162.7 kB / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.46, allocations: 46 kB / 0.6626 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.46, allocations: 18.58 kB / 0.6626 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.4603, allocations: 177.6 kB / 0.6628 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4603, allocations: 43.28 kB / 0.6628 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4603, allocations: 0 / 0.6628 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002542/0.4606, allocations: 64.55 kB / 0.6629 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.4606, allocations: 53.48 kB / 0.6629 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.4606, allocations: 98.86 kB / 0.663 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.4607, allocations: 26.98 kB / 0.663 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.292e-05/0.4607, allocations: 80.14 kB / 0.6631 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.4607, allocations: 10.66 kB / 0.6631 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.4608, allocations: 22.64 kB / 0.6632 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.4608, allocations: 313.5 kB / 0.6635 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.4609, allocations: 15.02 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.4609, allocations: 9.281 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.412e-05/0.461, allocations: 36.58 kB / 0.6635 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.461, allocations: 3.938 kB / 0.6635 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.4611, allocations: 53.22 kB / 0.6636 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4612, allocations: 13.98 kB / 0.6636 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4612, allocations: 0 / 0.6636 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4612, allocations: 1.531 kB / 0.6636 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.4612, allocations: 8.547 kB / 0.6636 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4613, allocations: 0 / 0.6636 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.4613, allocations: 5.828 kB / 0.6636 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4613, allocations: 6.109 kB / 0.6636 GB, free: 6.258 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 (4): * Single equations (assignments): 4 * 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 5.105e-05/0.4614, allocations: 111.5 kB / 0.6637 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.4614, allocations: 14.48 kB / 0.6637 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.4616, allocations: 68.33 kB / 0.6638 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4616, allocations: 0 / 0.6638 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4616, allocations: 1.281 kB / 0.6638 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4616, allocations: 0.7969 kB / 0.6638 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.823e-05/0.4617, allocations: 159.1 kB / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4617, allocations: 0 / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.4617, allocations: 8.25 kB / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4617, allocations: 4.547 kB / 0.664 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4617, allocations: 5.5 kB / 0.664 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4617, allocations: 4 kB / 0.664 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4617, allocations: 2.156 kB / 0.664 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.4619, allocations: 81.69 kB / 0.664 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.4619, allocations: 85.89 kB / 0.6641 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.462, allocations: 1.641 kB / 0.6641 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.462, allocations: 2.656 kB / 0.6641 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.4621, allocations: 4.016 kB / 0.6641 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4621, allocations: 5.094 kB / 0.6641 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.4621, allocations: 82.12 kB / 0.6642 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4621, allocations: 1 kB / 0.6642 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002516/0.4624, allocations: 31.67 kB / 0.6642 GB, free: 5.605 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 (4): * Single equations (assignments): 4 * 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.0004906/0.4629, allocations: 0.6697 MB / 0.6649 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.4631, allocations: 26.56 kB / 0.6649 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4631, allocations: 1.156 kB / 0.6649 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.4631, allocations: 15.98 kB / 0.6649 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.4634, allocations: 8.062 kB / 0.665 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.4638, allocations: 176.5 kB / 0.6651 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.464, allocations: 0.6794 MB / 0.6658 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.987e-05/0.464, allocations: 7.219 kB / 0.6658 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.464, allocations: 10.84 kB / 0.6658 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4641, allocations: 0 / 0.6658 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.4883, allocations: 1.94 MB / 0.6677 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.438, allocations: 7.078 kB / 0.6677 GB, free: 3.109 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)