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.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.001195/0.001195, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001261/0.001261, allocations: 189.8 kB / 22.85 MB, free: 5.641 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.314/1.314, allocations: 225.6 MB / 251.6 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] 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.002378/0.002378, allocations: 283.7 kB / 307 MB, free: 8.355 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.158/1.158, allocations: 180.8 MB / 0.5304 GB, free: 14.39 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.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 0.002695/0.002695, allocations: 107.3 kB / 0.7311 GB, free: 38.65 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1471, allocations: 94.2 MB / 0.8231 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002589/0.1497, allocations: 1.509 MB / 0.8245 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.2989, allocations: 131 MB / 0.9525 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.2989, allocations: 0 / 0.9525 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.299, allocations: 7.938 kB / 0.9525 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.299, allocations: 11.91 kB / 0.9525 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.2994, allocations: 67.59 kB / 0.9526 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2995, allocations: 51.86 kB / 0.9526 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.2996, allocations: 15.98 kB / 0.9526 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.2997, allocations: 19.92 kB / 0.9526 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.2997, allocations: 31.84 kB / 0.9527 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2997, allocations: 4 kB / 0.9527 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.2998, allocations: 15.98 kB / 0.9527 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.2998, allocations: 8 kB / 0.9527 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.2999, allocations: 27.8 kB / 0.9527 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3, allocations: 59.8 kB / 0.9528 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3, allocations: 0 / 0.9528 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3, allocations: 0 / 0.9528 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3, allocations: 3.938 kB / 0.9528 GB, free: 12.63 MB / 0.7012 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.0005407/0.3006, allocations: 300 kB / 0.9531 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3006, allocations: 8.031 kB / 0.9531 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.3007, allocations: 8.891 kB / 0.9531 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.3008, allocations: 126.4 kB / 0.9532 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3009, allocations: 384 / 0.9532 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.3009, allocations: 4.375 kB / 0.9532 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3012, allocations: 78.16 kB / 0.9533 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3013, allocations: 192 / 0.9533 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3013, allocations: 3.938 kB / 0.9533 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3013, allocations: 0 / 0.9533 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.3017, allocations: 71.92 kB / 0.9534 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.3021, allocations: 255.8 kB / 0.9536 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3024, allocations: 62.47 kB / 0.9537 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.3026, allocations: 32.92 kB / 0.9537 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.3028, allocations: 15.98 kB / 0.9537 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3028, allocations: 34.56 kB / 0.9537 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3028, allocations: 0 / 0.9537 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0006807/0.3035, allocations: 125.6 kB / 0.9539 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3035, allocations: 55.41 kB / 0.9539 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3037, allocations: 117.8 kB / 0.954 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3037, allocations: 29.64 kB / 0.9541 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.3038, allocations: 92.14 kB / 0.9541 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3038, allocations: 11.97 kB / 0.9542 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.3038, allocations: 13.72 kB / 0.9542 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.304, allocations: 318.8 kB / 0.9545 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3042, allocations: 35.95 kB / 0.9545 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.3044, allocations: 35.97 kB / 0.9545 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.3047, allocations: 68.78 kB / 0.9546 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3047, allocations: 0 / 0.9546 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004248/0.3051, allocations: 97.62 kB / 0.9547 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3051, allocations: 4 kB / 0.9547 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3052, allocations: 3.938 kB / 0.9547 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3052, allocations: 0 / 0.9547 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.3053, allocations: 23.91 kB / 0.9547 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3053, allocations: 0 / 0.9547 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3054, allocations: 19.94 kB / 0.9547 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3054, allocations: 0 / 0.9547 GB, free: 10.43 MB / 0.7012 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 0.0001197/0.3056, allocations: 122.2 kB / 0.9549 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.3056, allocations: 0 / 0.9549 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.3061, allocations: 105.9 kB / 0.955 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3061, allocations: 0 / 0.955 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3061, allocations: 11.98 kB / 0.955 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3061, allocations: 7.969 kB / 0.955 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.3063, allocations: 144.7 kB / 0.9551 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3063, allocations: 0 / 0.9551 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.3065, allocations: 23.91 kB / 0.9551 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3065, allocations: 0 / 0.9551 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3065, allocations: 0 / 0.9551 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3065, allocations: 0 / 0.9551 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3065, allocations: 0 / 0.9551 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.3069, allocations: 207.4 kB / 0.9553 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.3069, allocations: 7.891 kB / 0.9554 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.307, allocations: 3.984 kB / 0.9554 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3071, allocations: 11.98 kB / 0.9554 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3071, allocations: 4 kB / 0.9554 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3072, allocations: 8 kB / 0.9554 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 7.26e-05/0.3072, allocations: 91.27 kB / 0.9555 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3072, allocations: 0 / 0.9555 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003435/0.3076, allocations: 12 kB / 0.9555 GB, free: 9.609 MB / 0.7012 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.0001848/0.3078, allocations: 107.2 kB / 0.9556 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.3082, allocations: 75.86 kB / 0.9557 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3082, allocations: 0 / 0.9557 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.3084, allocations: 35.95 kB / 0.9557 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3088, allocations: 19.88 kB / 0.9557 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.3093, allocations: 160 kB / 0.9559 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3097, allocations: 0.6877 MB / 0.9565 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.496e-05/0.3097, allocations: 4 kB / 0.9565 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.3097, allocations: 11.44 kB / 0.9565 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of SimCode: time 4.41e-07/0.3097, allocations: 0 / 0.9565 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of Templates: time 0.004693/0.3144, allocations: 1.017 MB / 0.9575 GB, free: 7.453 MB / 0.7012 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.757001134996244] Failed to read output from testmodel.py, exit status != 0: 0.3224764589976985 0.33741510999999996 0.034389953 Calling exit ...