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.001377/0.001377, allocations: 78.34 kB / 19.01 MB, free: 2.859 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.001355/0.001355, allocations: 155.9 kB / 22.25 MB, free: 5.109 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.33/1.33, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 179] 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.002352/0.002352, allocations: 230.1 kB / 259.2 MB, free: 0.6016 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 0.9854/0.9854, allocations: 138.5 MB / 454.2 MB, free: 2.055 MB / 366.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.002867/0.002867, allocations: 103.8 kB / 0.6466 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3825, allocations: 95.35 MB / 0.7397 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002914/0.3854, allocations: 1.518 MB / 0.7412 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1512/0.5367, allocations: 115.8 MB / 0.8543 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.5368, allocations: 0 / 0.8543 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.5368, allocations: 3.938 kB / 0.8543 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.5369, allocations: 3.938 kB / 0.8543 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.5374, allocations: 71.67 kB / 0.8543 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.5375, allocations: 51.83 kB / 0.8544 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.5376, allocations: 11.98 kB / 0.8544 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.5377, allocations: 31.92 kB / 0.8544 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.5378, allocations: 27.91 kB / 0.8544 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.5378, allocations: 4 kB / 0.8544 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.5379, allocations: 23.88 kB / 0.8545 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.5379, allocations: 7.984 kB / 0.8545 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.538, allocations: 15.94 kB / 0.8545 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.5381, allocations: 64.86 kB / 0.8546 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5381, allocations: 0 / 0.8546 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5381, allocations: 0 / 0.8546 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5382, allocations: 0 / 0.8546 GB, free: 9.156 MB / 0.6856 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.0006056/0.5388, allocations: 306.1 kB / 0.8548 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.5388, allocations: 9.344 kB / 0.8549 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.5388, allocations: 4.938 kB / 0.8549 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.539, allocations: 122.4 kB / 0.855 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.539, allocations: 384 / 0.855 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.539, allocations: 4.375 kB / 0.855 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.5393, allocations: 78.19 kB / 0.8551 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5393, allocations: 192 / 0.8551 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5393, allocations: 3.938 kB / 0.8551 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5393, allocations: 4 kB / 0.8551 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.5396, allocations: 71.86 kB / 0.8551 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.54, allocations: 224.4 kB / 0.8553 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.5402, allocations: 54.48 kB / 0.8554 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.5404, allocations: 44.91 kB / 0.8554 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.5405, allocations: 11.98 kB / 0.8555 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5406, allocations: 30.56 kB / 0.8555 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.5406, allocations: 3.938 kB / 0.8555 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3): time 0.000573/0.5411, allocations: 133.5 kB / 0.8556 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.5412, allocations: 55.39 kB / 0.8557 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.5413, allocations: 113.8 kB / 0.8558 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.5413, allocations: 25.7 kB / 0.8558 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.5414, allocations: 88.09 kB / 0.8559 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.5414, allocations: 7.953 kB / 0.8559 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.5414, allocations: 17.72 kB / 0.8559 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5416, allocations: 314.8 kB / 0.8562 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.5418, allocations: 31.97 kB / 0.8562 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.5419, allocations: 35.95 kB / 0.8563 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.5422, allocations: 76.98 kB / 0.8563 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5422, allocations: 3.938 kB / 0.8564 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003338/0.5425, allocations: 101.6 kB / 0.8564 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5425, allocations: 4 kB / 0.8565 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5425, allocations: 0 / 0.8565 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5425, allocations: 0 / 0.8565 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.5427, allocations: 15.98 kB / 0.8565 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5427, allocations: 0 / 0.8565 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.5427, allocations: 23.91 kB / 0.8565 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5428, allocations: 4 kB / 0.8565 GB, free: 6.996 MB / 0.6856 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.565e-05/0.5428, allocations: 113.8 kB / 0.8566 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.5429, allocations: 0 / 0.8566 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.5432, allocations: 109.5 kB / 0.8567 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5432, allocations: 0 / 0.8567 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5432, allocations: 0 / 0.8567 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5432, allocations: 8.375 kB / 0.8567 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.5434, allocations: 125.2 kB / 0.8568 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5434, allocations: 0 / 0.8568 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.5435, allocations: 15.97 kB / 0.8568 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5435, allocations: 7.938 kB / 0.8569 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5435, allocations: 0 / 0.8569 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5435, allocations: 0 / 0.8569 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5435, allocations: 0 / 0.8569 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.5439, allocations: 199.4 kB / 0.857 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.5439, allocations: 7.891 kB / 0.8571 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.5439, allocations: 7.984 kB / 0.8571 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.544, allocations: 11.98 kB / 0.8571 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.5441, allocations: 0 / 0.8571 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.5441, allocations: 4 kB / 0.8571 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.5441, allocations: 87.27 kB / 0.8572 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/0.5441, allocations: 0 / 0.8572 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002315/0.5444, allocations: 15.94 kB / 0.8572 GB, free: 6.227 MB / 0.6856 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.0001744/0.5446, allocations: 111.2 kB / 0.8573 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.5449, allocations: 63.92 kB / 0.8573 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5449, allocations: 3.938 kB / 0.8573 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.5451, allocations: 39.95 kB / 0.8574 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.5454, allocations: 19.06 kB / 0.8574 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.5458, allocations: 148.2 kB / 0.8575 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.588e-05/0.5459, allocations: 67.34 kB / 0.8576 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.5459, allocations: 336 / 0.8576 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.5459, allocations: 12.5 kB / 0.8576 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of SimCode: time 3.71e-07/0.5459, allocations: 0 / 0.8576 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of Templates: time 0.004025/0.5499, allocations: 1.011 MB / 0.8586 GB, free: 4.734 MB / 0.6856 GB " [Timeout remaining time 659] 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: 5.607773911207914] Failed to read output from testmodel.py, exit status != 0: 0.5587254967540503 0.57419276 0.032915086 Calling exit ...