Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.001458/0.001458, allocations: 102.3 kB / 19.7 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.001614/0.001614, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.00243/0.00243, allocations: 293 kB / 313.5 MB, free: 2.812 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.168/1.168, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.002816/0.002816, allocations: 100.4 kB / 0.7408 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1746, allocations: 95.39 MB / 0.8339 GB, free: 8.16 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002658/0.1772, allocations: 1.525 MB / 0.8354 GB, free: 6.621 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.3355, allocations: 135.3 MB / 0.9675 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.3356, allocations: 4 kB / 0.9675 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.3356, allocations: 3.938 kB / 0.9675 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.3357, allocations: 7.938 kB / 0.9676 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.336, allocations: 75.56 kB / 0.9676 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3361, allocations: 51.86 kB / 0.9677 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.3362, allocations: 11.98 kB / 0.9677 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.3363, allocations: 19.92 kB / 0.9677 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.3364, allocations: 27.86 kB / 0.9677 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3364, allocations: 4 kB / 0.9677 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3365, allocations: 27.92 kB / 0.9678 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.3365, allocations: 4 kB / 0.9678 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.3365, allocations: 27.86 kB / 0.9678 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3367, allocations: 63.73 kB / 0.9679 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3367, allocations: 0 / 0.9679 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3367, allocations: 0 / 0.9679 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3367, allocations: 3.938 kB / 0.9679 GB, free: 14.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005116/0.3372, allocations: 294.1 kB / 0.9681 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3372, allocations: 13.34 kB / 0.9681 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3373, allocations: 4.938 kB / 0.9682 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3374, allocations: 122.4 kB / 0.9683 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3374, allocations: 4.375 kB / 0.9683 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.3374, allocations: 384 / 0.9683 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.3377, allocations: 70.22 kB / 0.9683 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3377, allocations: 192 / 0.9683 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3377, allocations: 7.938 kB / 0.9684 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.3377, allocations: 4 kB / 0.9684 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.338, allocations: 71.91 kB / 0.9684 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.3383, allocations: 259.7 kB / 0.9687 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3385, allocations: 54.53 kB / 0.9687 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3387, allocations: 40.92 kB / 0.9688 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.3388, allocations: 11.98 kB / 0.9688 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3388, allocations: 30.56 kB / 0.9688 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3388, allocations: 0 / 0.9688 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005006/0.3393, allocations: 137.5 kB / 0.9689 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3394, allocations: 55.41 kB / 0.969 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3395, allocations: 113.8 kB / 0.9691 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3395, allocations: 25.7 kB / 0.9691 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.3396, allocations: 96.12 kB / 0.9692 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.3396, allocations: 3.953 kB / 0.9692 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.3396, allocations: 17.72 kB / 0.9692 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3398, allocations: 318.8 kB / 0.9695 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3399, allocations: 39.89 kB / 0.9696 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.34, allocations: 27.97 kB / 0.9696 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.3403, allocations: 72.78 kB / 0.9697 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3403, allocations: 0 / 0.9697 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000293/0.3406, allocations: 101.5 kB / 0.9698 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3406, allocations: 4 kB / 0.9698 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3406, allocations: 4 kB / 0.9698 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3406, allocations: 0 / 0.9698 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3407, allocations: 23.97 kB / 0.9698 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3407, allocations: 0 / 0.9698 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.3408, allocations: 11.98 kB / 0.9698 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.3408, allocations: 0 / 0.9698 GB, free: 12.32 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 9.354e-05/0.3409, allocations: 122.4 kB / 0.9699 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.3409, allocations: 7.953 kB / 0.9699 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.3413, allocations: 117.9 kB / 0.97 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3413, allocations: 3.984 kB / 0.97 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3413, allocations: 0 / 0.97 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3413, allocations: 0 / 0.97 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.3415, allocations: 140.7 kB / 0.9702 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3415, allocations: 0 / 0.9702 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.3416, allocations: 19.97 kB / 0.9702 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3416, allocations: 0 / 0.9702 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3416, allocations: 4 kB / 0.9702 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3416, allocations: 0 / 0.9702 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3416, allocations: 4 kB / 0.9702 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.342, allocations: 195.4 kB / 0.9704 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.342, allocations: 7.891 kB / 0.9704 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.342, allocations: 15.92 kB / 0.9704 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.3421, allocations: 7.984 kB / 0.9704 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3422, allocations: 8 kB / 0.9704 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3422, allocations: 0 / 0.9704 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.3422, allocations: 91.27 kB / 0.9705 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.3422, allocations: 0 / 0.9705 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002219/0.3425, allocations: 15.94 kB / 0.9705 GB, free: 11.5 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.0001548/0.3426, allocations: 111.2 kB / 0.9706 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3429, allocations: 67.92 kB / 0.9707 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3429, allocations: 0 / 0.9707 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3431, allocations: 39.89 kB / 0.9707 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3434, allocations: 22.52 kB / 0.9708 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.3438, allocations: 178 kB / 0.9709 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3441, allocations: 0.6846 MB / 0.9716 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.3442, allocations: 7.438 kB / 0.9716 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.3442, allocations: 4 kB / 0.9716 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.002741/0.3469, allocations: 0.9413 MB / 0.9725 GB, free: 9.391 MB / 0.7169 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.38073718198575] Failed to read output from testmodel.py, exit status != 0: 0.3546665271278471 0.661843172 0.32264611800000004 Calling exit ...