Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001199/0.001199, allocations: 109.6 kB / 15.99 MB, free: 6.359 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.001173/0.001173, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.463/1.463, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7469/0.7469, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 67.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4229, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002233/0.4251, allocations: 1.32 MB / 0.5573 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.4262, allocations: 0.825 MB / 0.5581 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.4263, allocations: 1.469 kB / 0.5581 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.4263, allocations: 7.656 kB / 0.5581 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.4263, allocations: 3.938 kB / 0.5581 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.4268, allocations: 109.8 kB / 0.5582 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.4269, allocations: 31.64 kB / 0.5583 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.4269, allocations: 4.812 kB / 0.5583 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.427, allocations: 11.73 kB / 0.5583 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.427, allocations: 12.72 kB / 0.5583 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.427, allocations: 1.125 kB / 0.5583 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.4273, allocations: 172.7 kB / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.4274, allocations: 6.484 kB / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.4274, allocations: 9.281 kB / 0.5585 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.4276, allocations: 127.2 kB / 0.5586 GB, free: 34.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4276, allocations: 0 / 0.5586 GB, free: 34.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4276, allocations: 1.344 kB / 0.5586 GB, free: 34.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4276, allocations: 1.062 kB / 0.5586 GB, free: 34.66 MB / 446.1 MB 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.000365/0.428, allocations: 358.5 kB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.428, allocations: 9.531 kB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.4281, allocations: 39.44 kB / 0.559 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.4281, allocations: 12.16 kB / 0.559 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.695e-05/0.4282, allocations: 164.7 kB / 0.5592 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.4283, allocations: 30.86 kB / 0.5592 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.4283, allocations: 1.781 kB / 0.5592 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.4284, allocations: 49.31 kB / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.4284, allocations: 0 / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4284, allocations: 1.188 kB / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4284, allocations: 1.312 kB / 0.5592 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.4285, allocations: 21.14 kB / 0.5593 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.4287, allocations: 160.3 kB / 0.5594 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4289, allocations: 47.48 kB / 0.5594 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.4289, allocations: 17.5 kB / 0.5595 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.4292, allocations: 183.5 kB / 0.5596 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.4292, allocations: 36.27 kB / 0.5597 GB, free: 33.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4293, allocations: 2.125 kB / 0.5597 GB, free: 33.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002534/0.4295, allocations: 70.53 kB / 0.5597 GB, free: 33.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.4295, allocations: 55.34 kB / 0.5598 GB, free: 33.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.4296, allocations: 100.5 kB / 0.5599 GB, free: 33.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.4296, allocations: 27.08 kB / 0.5599 GB, free: 33.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.815e-05/0.4296, allocations: 82.83 kB / 0.56 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.4297, allocations: 9.984 kB / 0.56 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.4297, allocations: 19.66 kB / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.4298, allocations: 311.7 kB / 0.5603 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.4298, allocations: 12.77 kB / 0.5603 GB, free: 32.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.4299, allocations: 8.516 kB / 0.5603 GB, free: 32.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.19e-05/0.43, allocations: 33.94 kB / 0.5604 GB, free: 32.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.43, allocations: 0.7969 kB / 0.5604 GB, free: 32.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001242/0.4301, allocations: 56.75 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4301, allocations: 9.953 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4301, allocations: 1.344 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4302, allocations: 0.875 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.183e-05/0.4302, allocations: 8.406 kB / 0.5605 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4302, allocations: 1.875 kB / 0.5605 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.4303, allocations: 6.266 kB / 0.5605 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.4303, allocations: 2.406 kB / 0.5605 GB, free: 32.76 MB / 446.1 MB 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.629e-05/0.4303, allocations: 113.5 kB / 0.5606 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.4303, allocations: 5.156 kB / 0.5606 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.4305, allocations: 73.56 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4305, allocations: 0 / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4305, allocations: 2.625 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4305, allocations: 0.5625 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.245e-05/0.4306, allocations: 158.2 kB / 0.5608 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4306, allocations: 2.219 kB / 0.5608 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.4307, allocations: 7.734 kB / 0.5608 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.4307, allocations: 6.062 kB / 0.5608 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4307, allocations: 4 kB / 0.5608 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4307, allocations: 2.594 kB / 0.5608 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4307, allocations: 0 / 0.5608 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.4309, allocations: 92.27 kB / 0.5609 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.4309, allocations: 93.62 kB / 0.561 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4309, allocations: 2.812 kB / 0.561 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.828e-05/0.431, allocations: 2.312 kB / 0.561 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.431, allocations: 6.234 kB / 0.561 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.431, allocations: 1.344 kB / 0.561 GB, free: 32.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.191e-05/0.4311, allocations: 86.27 kB / 0.5611 GB, free: 32.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4311, allocations: 0 / 0.5611 GB, free: 32.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.4313, allocations: 28.56 kB / 0.5611 GB, free: 32.12 MB / 446.1 MB 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.0004281/0.4317, allocations: 0.6619 MB / 0.5618 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.4319, allocations: 31.88 kB / 0.5618 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4319, allocations: 0 / 0.5618 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.432, allocations: 16.12 kB / 0.5618 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.4322, allocations: 5.125 kB / 0.5618 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.4326, allocations: 181.3 kB / 0.562 GB, free: 31.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.4327, allocations: 0.6772 MB / 0.5627 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.4328, allocations: 6.906 kB / 0.5627 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.4328, allocations: 13.58 kB / 0.5627 GB, free: 30.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4328, allocations: 0 / 0.5627 GB, free: 30.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.4455, allocations: 1.816 MB / 0.5644 GB, free: 30.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.4457, allocations: 208.6 kB / 0.5646 GB, free: 30.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.196, allocations: 0.6562 kB / 0.5646 GB, free: 30.15 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)