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.0007796/0.0007796, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007807/0.0007807, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8594/0.8594, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 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.00144/0.00144, allocations: 229.4 kB / 260.2 MB, free: 13.03 MB / 250.7 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.6473/0.6473, allocations: 138.4 MB / 455.1 MB, free: 1.633 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6475 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.793e-05, allocations: 4.391 kB / 0.6475 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001789/0.001817, allocations: 1.513 MB / 0.649 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0927/0.09451, allocations: 115.8 MB / 0.7621 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.09457, allocations: 0 / 0.7621 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.0946, allocations: 3.938 kB / 0.7621 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.09466, allocations: 15.86 kB / 0.7621 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.095, allocations: 59.73 kB / 0.7622 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.146e-05/0.09508, allocations: 55.78 kB / 0.7622 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.09518, allocations: 15.97 kB / 0.7622 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.09524, allocations: 23.92 kB / 0.7623 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.106e-05/0.09528, allocations: 23.97 kB / 0.7623 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.0953, allocations: 4 kB / 0.7623 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.09538, allocations: 23.94 kB / 0.7623 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.0954, allocations: 11.92 kB / 0.7623 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.09542, allocations: 19.92 kB / 0.7624 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.09555, allocations: 63.8 kB / 0.7624 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.09555, allocations: 0 / 0.7624 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.09556, allocations: 0 / 0.7624 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.09556, allocations: 0 / 0.7624 GB, free: 11.13 MB / 0.6042 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.0003696/0.09593, allocations: 302.1 kB / 0.7627 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.09596, allocations: 8.75 kB / 0.7627 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.096, allocations: 4.938 kB / 0.7627 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.09608, allocations: 113.7 kB / 0.7628 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.09609, allocations: 384 / 0.7628 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.0961, allocations: 8.312 kB / 0.7628 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.09626, allocations: 82.12 kB / 0.7629 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.09627, allocations: 192 / 0.7629 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.09628, allocations: 4.375 kB / 0.7629 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.09628, allocations: 4.375 kB / 0.7629 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.09642, allocations: 75.8 kB / 0.763 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.09669, allocations: 212.5 kB / 0.7632 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.09681, allocations: 54.47 kB / 0.7632 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.09688, allocations: 44.91 kB / 0.7633 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.09698, allocations: 8 kB / 0.7633 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.097, allocations: 46.48 kB / 0.7633 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.097, allocations: 0 / 0.7633 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002945/0.0973, allocations: 125.6 kB / 0.7635 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.09732, allocations: 51.41 kB / 0.7635 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.09738, allocations: 113.8 kB / 0.7636 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.09739, allocations: 25.7 kB / 0.7636 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.09743, allocations: 100 kB / 0.7637 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.09745, allocations: 3.953 kB / 0.7637 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.09748, allocations: 21.72 kB / 0.7638 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.09755, allocations: 314.8 kB / 0.7641 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.09762, allocations: 35.97 kB / 0.7641 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.09768, allocations: 27.97 kB / 0.7641 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.0978, allocations: 68.78 kB / 0.7642 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.0978, allocations: 0 / 0.7642 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001527/0.09796, allocations: 105.8 kB / 0.7643 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.09797, allocations: 13.95 kB / 0.7643 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.09797, allocations: 8 kB / 0.7643 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.09799, allocations: 4.031 kB / 0.7643 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.09805, allocations: 15.98 kB / 0.7643 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.09806, allocations: 0 / 0.7643 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.09809, allocations: 11.98 kB / 0.7643 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.0981, allocations: 4 kB / 0.7643 GB, free: 8.977 MB / 0.6042 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 6.276e-05/0.09816, allocations: 110.5 kB / 0.7644 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.09817, allocations: 11.92 kB / 0.7645 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.09836, allocations: 109.6 kB / 0.7646 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.09836, allocations: 3.938 kB / 0.7646 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.09836, allocations: 0 / 0.7646 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.09837, allocations: 384 / 0.7646 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.09845, allocations: 117.3 kB / 0.7647 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.09845, allocations: 0 / 0.7647 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.09849, allocations: 19.92 kB / 0.7647 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.09849, allocations: 3.938 kB / 0.7647 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.0985, allocations: 3.938 kB / 0.7647 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.0985, allocations: 0 / 0.7647 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.0985, allocations: 3.984 kB / 0.7647 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.09868, allocations: 191.5 kB / 0.7649 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.09868, allocations: 7.953 kB / 0.7649 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.09869, allocations: 7.938 kB / 0.7649 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.09874, allocations: 7.984 kB / 0.7649 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.09878, allocations: 7.984 kB / 0.7649 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.09878, allocations: 0 / 0.7649 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.09881, allocations: 91.27 kB / 0.765 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.09881, allocations: 0 / 0.765 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001463/0.09896, allocations: 15.94 kB / 0.765 GB, free: 8.211 MB / 0.6042 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.000123/0.09908, allocations: 111.2 kB / 0.7651 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.09925, allocations: 67.92 kB / 0.7652 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.09926, allocations: 4 kB / 0.7652 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.09932, allocations: 31.97 kB / 0.7652 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.09955, allocations: 19.19 kB / 0.7652 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.09982, allocations: 180.6 kB / 0.7654 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.09986, allocations: 71.28 kB / 0.7655 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.09988, allocations: 8.5 kB / 0.7655 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.09988, allocations: 0 / 0.7655 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of Templates: time 0.001549/0.1014, allocations: 0.9259 MB / 0.7664 GB, free: 6.754 MB / 0.6042 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: 5.262576286680996] Failed to read output from testmodel.py, exit status != 0: 0.10642175655812025 0.114037277 0.016837755 Calling exit ...