Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001214/0.001214, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001319/0.001319, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002838/0.002838, allocations: 285.3 kB / 313.5 MB, free: 2.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.167/1.167, allocations: 180.6 MB / 0.5377 GB, free: 13.06 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002903/0.002903, allocations: 104.3 kB / 0.7408 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1747, allocations: 95.38 MB / 0.834 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002687/0.1774, allocations: 1.302 MB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1561/0.3335, allocations: 135.2 MB / 0.9673 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.3335, allocations: 3.938 kB / 0.9673 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.3336, allocations: 3.828 kB / 0.9673 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.89e-05/0.3336, allocations: 7.922 kB / 0.9673 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.334, allocations: 55.67 kB / 0.9674 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.3341, allocations: 23.86 kB / 0.9674 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.3341, allocations: 0 / 0.9674 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.3342, allocations: 15.98 kB / 0.9674 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.3342, allocations: 7.938 kB / 0.9674 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3342, allocations: 0 / 0.9674 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.3343, allocations: 23.98 kB / 0.9674 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.3343, allocations: 3.984 kB / 0.9674 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.3344, allocations: 11.88 kB / 0.9674 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.3345, allocations: 19.98 kB / 0.9675 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3345, allocations: 0 / 0.9675 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3345, allocations: 0 / 0.9675 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3345, allocations: 4 kB / 0.9675 GB, free: 14.95 MB / 0.7169 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.0004318/0.3349, allocations: 258.8 kB / 0.9677 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.335, allocations: 9.344 kB / 0.9677 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.335, allocations: 8.891 kB / 0.9677 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3351, allocations: 106.5 kB / 0.9678 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.3352, allocations: 55.97 kB / 0.9679 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3352, allocations: 384 / 0.9679 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3354, allocations: 42.19 kB / 0.9679 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3354, allocations: 3.938 kB / 0.9679 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3354, allocations: 4 kB / 0.9679 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3354, allocations: 0 / 0.9679 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.3355, allocations: 23.92 kB / 0.968 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3356, allocations: 128.7 kB / 0.9681 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3357, allocations: 30.59 kB / 0.9681 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.3358, allocations: 12.86 kB / 0.9681 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.3359, allocations: 12.08 kB / 0.9681 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.336, allocations: 34.56 kB / 0.9682 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.336, allocations: 0 / 0.9682 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002551/0.3362, allocations: 65.55 kB / 0.9682 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3362, allocations: 55.41 kB / 0.9683 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.3363, allocations: 93.86 kB / 0.9684 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3363, allocations: 25.7 kB / 0.9684 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.3364, allocations: 80.14 kB / 0.9685 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3364, allocations: 19.89 kB / 0.9685 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.3364, allocations: 13.72 kB / 0.9685 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3366, allocations: 314.8 kB / 0.9688 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.3366, allocations: 15.92 kB / 0.9688 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.3367, allocations: 4 kB / 0.9688 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.181e-05/0.3367, allocations: 20.84 kB / 0.9688 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3367, allocations: 0 / 0.9688 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001369/0.3369, allocations: 57.62 kB / 0.9689 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3369, allocations: 7.938 kB / 0.9689 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3369, allocations: 4 kB / 0.9689 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3369, allocations: 0 / 0.9689 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.337, allocations: 11.98 kB / 0.9689 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.337, allocations: 0 / 0.9689 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.337, allocations: 0 / 0.9689 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.337, allocations: 0 / 0.9689 GB, free: 13.27 MB / 0.7169 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 8.75e-05/0.3371, allocations: 110.5 kB / 0.969 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.3371, allocations: 7.938 kB / 0.969 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3373, allocations: 65.3 kB / 0.9691 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3373, allocations: 0 / 0.9691 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3373, allocations: 0 / 0.9691 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3373, allocations: 3.938 kB / 0.9691 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.3375, allocations: 132.7 kB / 0.9692 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3375, allocations: 0 / 0.9692 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.3375, allocations: 4 kB / 0.9692 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3375, allocations: 4.5 kB / 0.9692 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.3375, allocations: 4 kB / 0.9692 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3375, allocations: 7.984 kB / 0.9692 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3375, allocations: 0 / 0.9692 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3377, allocations: 77.11 kB / 0.9693 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3377, allocations: 0 / 0.9693 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3377, allocations: 7.922 kB / 0.9693 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.852e-05/0.3377, allocations: 7.938 kB / 0.9693 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3378, allocations: 0 / 0.9693 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.3378, allocations: 4 kB / 0.9693 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.234e-05/0.3378, allocations: 83.27 kB / 0.9694 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.3378, allocations: 0 / 0.9694 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002005/0.338, allocations: 15.94 kB / 0.9694 GB, free: 12.66 MB / 0.7169 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.0001541/0.3382, allocations: 103.2 kB / 0.9695 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.3383, allocations: 15.98 kB / 0.9695 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3383, allocations: 4 kB / 0.9695 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.3384, allocations: 15.94 kB / 0.9696 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.3386, allocations: 9.391 kB / 0.9696 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.3389, allocations: 152 kB / 0.9697 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.3393, allocations: 0.6806 MB / 0.9704 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.3393, allocations: 11.44 kB / 0.9704 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.3393, allocations: 0 / 0.9704 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.002203/0.3415, allocations: 0.5762 MB / 0.971 GB, free: 11.03 MB / 0.7169 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.41024225903675] Failed to read output from testmodel.py, exit status != 0: 0.3487936370074749 0.660181675 0.32278150299999997 Calling exit ...