Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 118 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 203.8 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 230.6 MB / 254.2 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.022/1.022, allocations: 150 MB / 460.2 MB, free: 5.289 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 71.38 kB / 0.6368 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1817, allocations: 89.13 MB / 0.7238 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002577/0.1842, allocations: 1.286 MB / 0.7251 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.3471, allocations: 135.2 MB / 0.8571 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.3471, allocations: 0 / 0.8571 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.3472, allocations: 3.938 kB / 0.8571 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.3472, allocations: 7.984 kB / 0.8572 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.3475, allocations: 67.75 kB / 0.8572 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.3476, allocations: 15.94 kB / 0.8572 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.3477, allocations: 3.984 kB / 0.8572 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.3477, allocations: 11.94 kB / 0.8572 GB, free: 10.94 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.3478, allocations: 19.81 kB / 0.8573 GB, free: 10.92 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3478, allocations: 0 / 0.8573 GB, free: 10.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.3479, allocations: 23.98 kB / 0.8573 GB, free: 10.9 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.3479, allocations: 0 / 0.8573 GB, free: 10.9 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.3479, allocations: 15.86 kB / 0.8573 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.348, allocations: 27.91 kB / 0.8573 GB, free: 10.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.348, allocations: 0 / 0.8573 GB, free: 10.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/0.348, allocations: 0 / 0.8573 GB, free: 10.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.348, allocations: 7.938 kB / 0.8573 GB, free: 10.85 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004463/0.3485, allocations: 335.4 kB / 0.8577 GB, free: 10.47 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3485, allocations: 12.03 kB / 0.8577 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.552e-05/0.3485, allocations: 192 / 0.8577 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.3486, allocations: 30.75 kB / 0.8577 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.3487, allocations: 12.92 kB / 0.8577 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3488, allocations: 164.4 kB / 0.8579 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-05/0.3489, allocations: 34.27 kB / 0.8579 GB, free: 10.17 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-06/0.3489, allocations: 384 / 0.8579 GB, free: 10.17 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.349, allocations: 45.81 kB / 0.8579 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.349, allocations: 0 / 0.8579 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.349, allocations: 0 / 0.8579 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.349, allocations: 0 / 0.8579 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.3491, allocations: 19.92 kB / 0.858 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.3493, allocations: 161.6 kB / 0.8581 GB, free: 9.891 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3494, allocations: 30.61 kB / 0.8581 GB, free: 9.852 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.3495, allocations: 12.86 kB / 0.8582 GB, free: 9.836 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.3495, allocations: 0 / 0.8582 GB, free: 9.836 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3495, allocations: 42.5 kB / 0.8582 GB, free: 9.785 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3495, allocations: 0 / 0.8582 GB, free: 9.785 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002311/0.3498, allocations: 57.7 kB / 0.8583 GB, free: 9.723 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3498, allocations: 55.41 kB / 0.8583 GB, free: 9.656 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.3499, allocations: 101.8 kB / 0.8584 GB, free: 9.547 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3499, allocations: 29.7 kB / 0.8584 GB, free: 9.512 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.3499, allocations: 80.14 kB / 0.8585 GB, free: 9.43 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3499, allocations: 7.953 kB / 0.8585 GB, free: 9.422 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.35, allocations: 13.72 kB / 0.8585 GB, free: 9.402 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3501, allocations: 314.8 kB / 0.8588 GB, free: 9.086 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.3502, allocations: 7.984 kB / 0.8588 GB, free: 9.078 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.3502, allocations: 4 kB / 0.8588 GB, free: 9.074 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.468e-05/0.3503, allocations: 28.84 kB / 0.8589 GB, free: 9.043 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3503, allocations: 3.938 kB / 0.8589 GB, free: 9.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001337/0.3504, allocations: 58.05 kB / 0.8589 GB, free: 8.977 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3504, allocations: 4 kB / 0.8589 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3504, allocations: 0 / 0.8589 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3505, allocations: 7.938 kB / 0.8589 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.3505, allocations: 7.984 kB / 0.8589 GB, free: 8.957 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3505, allocations: 0 / 0.8589 GB, free: 8.957 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.3506, allocations: 3.938 kB / 0.859 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3506, allocations: 8.047 kB / 0.859 GB, free: 8.945 MB / 0.67 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 0.0001404/0.3507, allocations: 105.8 kB / 0.8591 GB, free: 8.832 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.3507, allocations: 7.922 kB / 0.8591 GB, free: 8.824 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.3508, allocations: 7.5 kB / 0.8591 GB, free: 8.816 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3508, allocations: 4 kB / 0.8591 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3508, allocations: 3.984 kB / 0.8591 GB, free: 8.809 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3508, allocations: 0 / 0.8591 GB, free: 8.809 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.3509, allocations: 157.7 kB / 0.8592 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3509, allocations: 0 / 0.8592 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.351, allocations: 19.86 kB / 0.8593 GB, free: 8.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.351, allocations: 0 / 0.8593 GB, free: 8.586 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.351, allocations: 0 / 0.8593 GB, free: 8.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.351, allocations: 0 / 0.8593 GB, free: 8.586 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.351, allocations: 4 kB / 0.8593 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.3511, allocations: 65.12 kB / 0.8593 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.3512, allocations: 92.98 kB / 0.8594 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3512, allocations: 4 kB / 0.8594 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.3512, allocations: 4 kB / 0.8594 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3513, allocations: 4 kB / 0.8594 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3513, allocations: 0 / 0.8594 GB, free: 8.379 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.3513, allocations: 83.27 kB / 0.8595 GB, free: 8.297 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 0.8595 GB, free: 8.297 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001857/0.3515, allocations: 4 kB / 0.8595 GB, free: 8.293 MB / 0.67 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.0004769/0.352, allocations: 0.6163 MB / 0.8601 GB, free: 7.645 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.3521, allocations: 19.98 kB / 0.8601 GB, free: 7.625 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3521, allocations: 0 / 0.8601 GB, free: 7.625 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.3522, allocations: 11.94 kB / 0.8601 GB, free: 7.613 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.3524, allocations: 9.391 kB / 0.8601 GB, free: 7.605 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.3528, allocations: 161.3 kB / 0.8603 GB, free: 7.406 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3531, allocations: 0.6768 MB / 0.861 GB, free: 6.703 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.3531, allocations: 4.422 kB / 0.861 GB, free: 6.699 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3531, allocations: 11.38 kB / 0.861 GB, free: 6.688 MB / 0.67 GB Notification: Performance of SimCode: time 3.2e-07/0.3531, allocations: 0 / 0.861 GB, free: 6.688 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.3704, allocations: 1.31 MB / 0.8623 GB, free: 5.523 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.731, allocations: 11.44 kB / 0.8623 GB, free: 5.516 MB / 0.67 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.209403846994974] Failed to read output from testmodel.py, exit status != 0: 8.860517409048043 9.24873898 8.898411092 Calling exit ...