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.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.001466/0.001466, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001476/0.001476, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.351/1.351, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002244/0.002244, allocations: 279 kB / 303.6 MB, free: 3.688 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 180.9 MB / 0.5268 GB, free: 2.637 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: 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: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 99.84 kB / 0.7259 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4747, allocations: 94.16 MB / 0.8179 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002752/0.4775, allocations: 1.281 MB / 0.8191 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.6412, allocations: 132.4 MB / 0.9484 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.6413, allocations: 0 / 0.9484 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.6413, allocations: 7.938 kB / 0.9484 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.6413, allocations: 11.91 kB / 0.9484 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.6417, allocations: 55.73 kB / 0.9485 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.6418, allocations: 27.86 kB / 0.9485 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.6418, allocations: 0 / 0.9485 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.6419, allocations: 11.94 kB / 0.9485 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.6419, allocations: 11.98 kB / 0.9485 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.6419, allocations: 0 / 0.9485 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.642, allocations: 8 kB / 0.9486 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.642, allocations: 11.92 kB / 0.9486 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.6421, allocations: 11.98 kB / 0.9486 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.6422, allocations: 31.52 kB / 0.9486 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6422, allocations: 0 / 0.9486 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6422, allocations: 0 / 0.9486 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.6422, allocations: 0 / 0.9486 GB, free: 10.78 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004412/0.6426, allocations: 335.4 kB / 0.9489 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6427, allocations: 12.03 kB / 0.9489 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.6427, allocations: 0.9375 kB / 0.9489 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6428, allocations: 164.4 kB / 0.9491 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.6429, allocations: 34.27 kB / 0.9491 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.6429, allocations: 384 / 0.9491 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.6431, allocations: 46.19 kB / 0.9492 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.6431, allocations: 3.938 kB / 0.9492 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.6431, allocations: 0 / 0.9492 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6431, allocations: 0 / 0.9492 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.217e-05/0.6432, allocations: 11.98 kB / 0.9492 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.6433, allocations: 157.7 kB / 0.9493 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 9.376e-05/0.6434, allocations: 30.58 kB / 0.9494 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.6435, allocations: 16.88 kB / 0.9494 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.6436, allocations: 89.09 kB / 0.9495 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.6437, allocations: 38.56 kB / 0.9495 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.6437, allocations: 0 / 0.9495 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3): time 0.0002324/0.6439, allocations: 61.61 kB / 0.9496 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.6439, allocations: 51.41 kB / 0.9496 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.644, allocations: 98.03 kB / 0.9497 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.644, allocations: 29.7 kB / 0.9497 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.6441, allocations: 80.14 kB / 0.9498 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.6441, allocations: 11.89 kB / 0.9498 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.6441, allocations: 17.7 kB / 0.9498 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6443, allocations: 318.8 kB / 0.9501 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.6443, allocations: 7.938 kB / 0.9502 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.6443, allocations: 7.984 kB / 0.9502 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.749e-05/0.6444, allocations: 24.84 kB / 0.9502 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6444, allocations: 0 / 0.9502 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001227/0.6446, allocations: 53.64 kB / 0.9502 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6446, allocations: 7.938 kB / 0.9502 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6446, allocations: 4 kB / 0.9502 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.6446, allocations: 4 kB / 0.9502 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.6446, allocations: 4 kB / 0.9503 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6447, allocations: 3.984 kB / 0.9503 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.6447, allocations: 0 / 0.9503 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.6447, allocations: 7.938 kB / 0.9503 GB, free: 8.828 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 7.141e-05/0.6448, allocations: 109.8 kB / 0.9504 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.6448, allocations: 7.875 kB / 0.9504 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.6449, allocations: 61.17 kB / 0.9504 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6449, allocations: 0 / 0.9504 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6449, allocations: 0 / 0.9504 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6449, allocations: 0 / 0.9504 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.6451, allocations: 161.6 kB / 0.9506 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.6451, allocations: 0 / 0.9506 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.6451, allocations: 4 kB / 0.9506 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6451, allocations: 7.938 kB / 0.9506 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.6451, allocations: 0 / 0.9506 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.6451, allocations: 0 / 0.9506 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6451, allocations: 3.938 kB / 0.9506 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.6452, allocations: 81.11 kB / 0.9507 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.6453, allocations: 81.06 kB / 0.9508 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.6453, allocations: 7.922 kB / 0.9508 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.898e-05/0.6454, allocations: 4 kB / 0.9508 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.6454, allocations: 0 / 0.9508 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.6454, allocations: 4 kB / 0.9508 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.6454, allocations: 79.7 kB / 0.9508 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6454, allocations: 4 kB / 0.9509 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001791/0.6456, allocations: 11.94 kB / 0.9509 GB, free: 8.109 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.0001524/0.6458, allocations: 111.2 kB / 0.951 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.6459, allocations: 27.91 kB / 0.951 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6459, allocations: 0 / 0.951 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.6459, allocations: 8.234 kB / 0.951 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.6462, allocations: 15.95 kB / 0.951 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.6465, allocations: 149.5 kB / 0.9512 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.6467, allocations: 0.6767 MB / 0.9518 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.6468, allocations: 11.44 kB / 0.9518 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of SimCode: time 3e-07/0.6468, allocations: 0 / 0.9518 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of Templates: time 0.001992/0.6488, allocations: 0.5792 MB / 0.9524 GB, free: 6.469 MB / 0.6856 GB " [Timeout remaining time 659] 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: 7.919633151963353] Failed to read output from testmodel.py, exit status != 0: 0.6561709311790764 0.6679494300000001 0.023161589 Calling exit ...