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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9155/0.9155, allocations: 129.2 MB / 432.5 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 75.81 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4311, allocations: 83.44 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002077/0.4332, allocations: 1.278 MB / 0.6814 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.4343, allocations: 0.8326 MB / 0.6822 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.4344, allocations: 0 / 0.6822 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.4344, allocations: 3.938 kB / 0.6822 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.4344, allocations: 1.031 kB / 0.6822 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.4349, allocations: 136.1 kB / 0.6824 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.435, allocations: 28.27 kB / 0.6824 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.435, allocations: 6.297 kB / 0.6824 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.4351, allocations: 17.72 kB / 0.6824 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.4351, allocations: 7.922 kB / 0.6824 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.4351, allocations: 1.25 kB / 0.6824 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.4355, allocations: 170.5 kB / 0.6826 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.4355, allocations: 9.109 kB / 0.6826 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.4355, allocations: 12.34 kB / 0.6826 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.4357, allocations: 117.1 kB / 0.6827 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4357, allocations: 5.094 kB / 0.6827 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4357, allocations: 0 / 0.6827 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.4357, allocations: 0 / 0.6827 GB, free: 4.031 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.0003769/0.4361, allocations: 367.4 kB / 0.6831 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4361, allocations: 12.48 kB / 0.6831 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.4362, allocations: 35.91 kB / 0.6831 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.4362, allocations: 3.156 kB / 0.6831 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.807e-05/0.4363, allocations: 162.7 kB / 0.6833 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.4363, allocations: 32.58 kB / 0.6833 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.4363, allocations: 1.5 kB / 0.6833 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.4364, allocations: 54.42 kB / 0.6834 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4365, allocations: 1.156 kB / 0.6834 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4365, allocations: 0 / 0.6834 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4365, allocations: 1.094 kB / 0.6834 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.4366, allocations: 18.39 kB / 0.6834 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.4367, allocations: 158.2 kB / 0.6835 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.4369, allocations: 48.72 kB / 0.6836 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.4369, allocations: 10.92 kB / 0.6836 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.4372, allocations: 181.1 kB / 0.6838 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.4372, allocations: 43.45 kB / 0.6838 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4372, allocations: 5.062 kB / 0.6838 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002222/0.4374, allocations: 64.77 kB / 0.6839 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.4374, allocations: 56.86 kB / 0.6839 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.229e-05/0.4375, allocations: 93.52 kB / 0.684 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.4375, allocations: 25.7 kB / 0.684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.12e-05/0.4375, allocations: 84.14 kB / 0.6841 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.4375, allocations: 10.34 kB / 0.6841 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.4375, allocations: 21.73 kB / 0.6842 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.4376, allocations: 314.8 kB / 0.6845 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.4376, allocations: 5.844 kB / 0.6845 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.4377, allocations: 13.48 kB / 0.6845 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.4377, allocations: 30 kB / 0.6845 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4377, allocations: 3.938 kB / 0.6845 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.4379, allocations: 55.75 kB / 0.6846 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4379, allocations: 9.312 kB / 0.6846 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4379, allocations: 7.938 kB / 0.6846 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4379, allocations: 1.219 kB / 0.6846 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.4379, allocations: 10.64 kB / 0.6846 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.438, allocations: 0 / 0.6846 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.438, allocations: 6.156 kB / 0.6846 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.438, allocations: 1.312 kB / 0.6846 GB, free: 2.035 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 4.438e-05/0.438, allocations: 116 kB / 0.6847 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.438, allocations: 9.359 kB / 0.6847 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.4382, allocations: 68.36 kB / 0.6848 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4382, allocations: 3.984 kB / 0.6848 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4382, allocations: 1.094 kB / 0.6848 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4382, allocations: 0 / 0.6848 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.067e-05/0.4383, allocations: 154.9 kB / 0.6849 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4383, allocations: 1.844 kB / 0.6849 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.4383, allocations: 9.656 kB / 0.6849 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4383, allocations: 3.938 kB / 0.685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4383, allocations: 1.094 kB / 0.685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4383, allocations: 0 / 0.685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4383, allocations: 5.25 kB / 0.685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.4385, allocations: 84.61 kB / 0.685 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.4385, allocations: 87.25 kB / 0.6851 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.4385, allocations: 5.031 kB / 0.6851 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.726e-05/0.4386, allocations: 1.156 kB / 0.6851 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.4386, allocations: 2.094 kB / 0.6851 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.4386, allocations: 2.156 kB / 0.6851 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.039e-05/0.4386, allocations: 89.61 kB / 0.6852 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4386, allocations: 0 / 0.6852 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002532/0.4389, allocations: 34.75 kB / 0.6852 GB, free: 1.355 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.0004018/0.4393, allocations: 0.6717 MB / 0.6859 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.4394, allocations: 24.11 kB / 0.6859 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4394, allocations: 0 / 0.6859 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.4395, allocations: 17.3 kB / 0.6859 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.4397, allocations: 7.875 kB / 0.686 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.4401, allocations: 167.5 kB / 0.6861 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.4402, allocations: 0.6782 MB / 0.6868 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.049e-05/0.4403, allocations: 6.516 kB / 0.6868 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.4403, allocations: 10 kB / 0.6868 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4403, allocations: 0 / 0.6868 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.4652, allocations: 1.953 MB / 0.6887 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.442, allocations: 9.109 kB / 0.6887 GB, free: 14.73 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.92492279689759] Failed to read output from testmodel.py, exit status != 0: 8.50975272897631 8.530459168 8.089444159 Calling exit ...