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.001195/0.001195, allocations: 110 kB / 18.93 MB, free: 2.945 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.001194/0.001194, allocations: 191.7 kB / 22.23 MB, free: 5.16 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.34/1.34, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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.00244/0.00244, allocations: 295.5 kB / 306.6 MB, free: 8.348 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.188/1.188, allocations: 180.9 MB / 0.53 GB, free: 14.41 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.002708/0.002708, allocations: 101.8 kB / 0.7308 GB, free: 38.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.159, allocations: 94.2 MB / 0.8228 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002335/0.1614, allocations: 1.286 MB / 0.8241 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1534/0.3147, allocations: 132.4 MB / 0.9534 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.3148, allocations: 0 / 0.9534 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.3148, allocations: 3.938 kB / 0.9534 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.3149, allocations: 15.91 kB / 0.9534 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.3152, allocations: 55.67 kB / 0.9535 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.2e-05/0.3153, allocations: 23.75 kB / 0.9535 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3154, allocations: 4 kB / 0.9535 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.3154, allocations: 11.94 kB / 0.9535 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.3155, allocations: 11.92 kB / 0.9535 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.3155, allocations: 0 / 0.9535 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.3156, allocations: 12 kB / 0.9535 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.3156, allocations: 11.97 kB / 0.9535 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.3156, allocations: 4 kB / 0.9535 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.3157, allocations: 23.92 kB / 0.9536 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3157, allocations: 0 / 0.9536 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3157, allocations: 4 kB / 0.9536 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3157, allocations: 0 / 0.9536 GB, free: 11.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004025/0.3161, allocations: 258.3 kB / 0.9538 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3162, allocations: 8.031 kB / 0.9538 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.3162, allocations: 4.938 kB / 0.9538 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3163, allocations: 106.5 kB / 0.9539 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.3164, allocations: 38.25 kB / 0.954 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.3164, allocations: 384 / 0.954 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3165, allocations: 50.17 kB / 0.954 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3165, allocations: 3.938 kB / 0.954 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.3165, allocations: 0 / 0.954 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3165, allocations: 0 / 0.954 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.3166, allocations: 15.98 kB / 0.954 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.3168, allocations: 124.7 kB / 0.9542 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3169, allocations: 34.55 kB / 0.9542 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.317, allocations: 16.94 kB / 0.9542 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.3171, allocations: 12 kB / 0.9542 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3171, allocations: 38.48 kB / 0.9543 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3171, allocations: 0 / 0.9543 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0002318/0.3174, allocations: 57.62 kB / 0.9543 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3174, allocations: 51.41 kB / 0.9544 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.3175, allocations: 101.8 kB / 0.9545 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3175, allocations: 25.7 kB / 0.9545 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.3175, allocations: 84.14 kB / 0.9546 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.3176, allocations: 11.89 kB / 0.9546 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.3176, allocations: 13.72 kB / 0.9546 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3177, allocations: 314.8 kB / 0.9549 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.3178, allocations: 8 kB / 0.9549 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.3178, allocations: 11.94 kB / 0.9549 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.3179, allocations: 24.84 kB / 0.9549 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3179, allocations: 0 / 0.9549 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001275/0.318, allocations: 53.62 kB / 0.955 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3181, allocations: 11.94 kB / 0.955 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3181, allocations: 0 / 0.955 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3181, allocations: 0 / 0.955 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.3181, allocations: 4 kB / 0.955 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3181, allocations: 0 / 0.955 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.3182, allocations: 8 kB / 0.955 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3182, allocations: 0.5156 kB / 0.955 GB, free: 9.773 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 8.535e-05/0.3183, allocations: 118.4 kB / 0.9551 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.3183, allocations: 7.938 kB / 0.9551 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.3184, allocations: 53.36 kB / 0.9552 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3184, allocations: 3.984 kB / 0.9552 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3185, allocations: 4 kB / 0.9552 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3185, allocations: 0 / 0.9552 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.3186, allocations: 128.8 kB / 0.9553 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3186, allocations: 0 / 0.9553 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.3186, allocations: 11.98 kB / 0.9553 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3186, allocations: 3.938 kB / 0.9553 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.3186, allocations: 0 / 0.9553 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3186, allocations: 3.938 kB / 0.9553 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3186, allocations: 0 / 0.9553 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.3188, allocations: 85.05 kB / 0.9554 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.3188, allocations: 7.953 kB / 0.9554 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3188, allocations: 3.938 kB / 0.9554 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.3189, allocations: 0 / 0.9554 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.3189, allocations: 3.984 kB / 0.9554 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3189, allocations: 4 kB / 0.9554 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.3189, allocations: 79.28 kB / 0.9555 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.3189, allocations: 0 / 0.9555 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001891/0.3191, allocations: 15.94 kB / 0.9555 GB, free: 9.164 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.000165/0.3193, allocations: 107.2 kB / 0.9556 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.3194, allocations: 23.92 kB / 0.9556 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3194, allocations: 0 / 0.9556 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.3195, allocations: 11.98 kB / 0.9557 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.3197, allocations: 7.938 kB / 0.9557 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.3201, allocations: 128.2 kB / 0.9558 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3203, allocations: 0.6768 MB / 0.9564 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.3204, allocations: 0 / 0.9564 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3204, allocations: 15.44 kB / 0.9565 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.3204, allocations: 3.938 kB / 0.9565 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of Templates: time 0.003042/0.3234, allocations: 0.544 MB / 0.957 GB, free: 7.598 MB / 0.7012 GB " [Timeout remaining time 660] 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: 5.7937608221545815] Failed to read output from testmodel.py, exit status != 0: 0.3313434226438403 0.34721802700000004 0.028460370000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f511fa017b0>