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.001455/0.001455, 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.001586/0.001586, allocations: 187 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.318/1.318, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002381/0.002381, allocations: 280 kB / 307 MB, free: 8.379 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.136/1.136, allocations: 180.8 MB / 0.5304 GB, free: 14.54 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.002697/0.002697, allocations: 98.98 kB / 0.7311 GB, free: 39.06 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1637, allocations: 94.2 MB / 0.8231 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00256/0.1663, allocations: 1.289 MB / 0.8243 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1488/0.3151, allocations: 131 MB / 0.9522 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.3152, allocations: 0 / 0.9522 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.3152, allocations: 3.938 kB / 0.9522 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.3152, allocations: 0 / 0.9522 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.3156, allocations: 63.59 kB / 0.9523 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.3157, allocations: 23.92 kB / 0.9523 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.3158, allocations: 3.984 kB / 0.9523 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.3158, allocations: 15.77 kB / 0.9523 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.3159, allocations: 8 kB / 0.9523 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3159, allocations: 4 kB / 0.9524 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.316, allocations: 15.92 kB / 0.9524 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.316, allocations: 7.938 kB / 0.9524 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.316, allocations: 4 kB / 0.9524 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3161, allocations: 31.89 kB / 0.9524 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3161, allocations: 0 / 0.9524 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3161, allocations: 0 / 0.9524 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3161, allocations: 0 / 0.9524 GB, free: 13.07 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.0004333/0.3166, allocations: 258.3 kB / 0.9527 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3166, allocations: 16.03 kB / 0.9527 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.3166, allocations: 0.9375 kB / 0.9527 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3167, allocations: 106.5 kB / 0.9528 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.3168, allocations: 26.27 kB / 0.9528 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3168, allocations: 4.375 kB / 0.9528 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.317, allocations: 42.19 kB / 0.9528 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.317, allocations: 3.938 kB / 0.9528 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.317, allocations: 0 / 0.9528 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.317, allocations: 0 / 0.9528 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.3171, allocations: 19.97 kB / 0.9529 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3173, allocations: 132.6 kB / 0.953 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3174, allocations: 34.61 kB / 0.953 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.3174, allocations: 12.86 kB / 0.953 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.3175, allocations: 12.08 kB / 0.953 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.3176, allocations: 34.56 kB / 0.9531 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3176, allocations: 3.938 kB / 0.9531 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.000232/0.3178, allocations: 61.61 kB / 0.9531 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3178, allocations: 55.34 kB / 0.9532 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.3179, allocations: 101.8 kB / 0.9533 GB, free: 12 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.318, allocations: 25.7 kB / 0.9533 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.318, allocations: 80.14 kB / 0.9534 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.318, allocations: 7.953 kB / 0.9534 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.318, allocations: 17.72 kB / 0.9534 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3182, allocations: 310.8 kB / 0.9537 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.3182, allocations: 11.98 kB / 0.9537 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.3183, allocations: 12 kB / 0.9537 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.991e-05/0.3184, allocations: 24.78 kB / 0.9538 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3184, allocations: 0 / 0.9538 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001218/0.3185, allocations: 57.64 kB / 0.9538 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3185, allocations: 7.938 kB / 0.9538 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3185, allocations: 3.938 kB / 0.9538 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3185, allocations: 0 / 0.9538 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3186, allocations: 7.984 kB / 0.9538 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3186, allocations: 4 kB / 0.9538 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.3186, allocations: 0 / 0.9538 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3186, allocations: 0 / 0.9538 GB, free: 11.41 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 9.343e-05/0.3187, allocations: 114.5 kB / 0.9539 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.3187, allocations: 3.938 kB / 0.954 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.3189, allocations: 61.3 kB / 0.954 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3189, allocations: 0 / 0.954 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3189, allocations: 4 kB / 0.954 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3189, allocations: 0.5625 kB / 0.954 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.319, allocations: 124.8 kB / 0.9541 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.319, allocations: 0 / 0.9541 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.3191, allocations: 7.984 kB / 0.9541 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3191, allocations: 3.938 kB / 0.9541 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.3191, allocations: 4 kB / 0.9541 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3191, allocations: 0 / 0.9541 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3191, allocations: 4 kB / 0.9542 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.3192, allocations: 73.05 kB / 0.9542 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.3193, allocations: 15.94 kB / 0.9542 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3193, allocations: 3.938 kB / 0.9542 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.3193, allocations: 0 / 0.9542 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3193, allocations: 11.94 kB / 0.9543 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3193, allocations: 0 / 0.9543 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.3194, allocations: 83.27 kB / 0.9543 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6e-08/0.3194, allocations: 0 / 0.9543 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001843/0.3196, allocations: 11.94 kB / 0.9543 GB, free: 10.81 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.0001361/0.3197, allocations: 107.2 kB / 0.9544 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.3199, allocations: 15.98 kB / 0.9545 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3199, allocations: 4 kB / 0.9545 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.3199, allocations: 15.94 kB / 0.9545 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.3201, allocations: 11.98 kB / 0.9545 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.3204, allocations: 128.2 kB / 0.9546 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3207, allocations: 0.6768 MB / 0.9553 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.3208, allocations: 8 kB / 0.9553 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.3208, allocations: 7.438 kB / 0.9553 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of SimCode: time 3.81e-07/0.3208, allocations: 0 / 0.9553 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of Templates: time 0.003058/0.3238, allocations: 0.5441 MB / 0.9558 GB, free: 9.238 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.714589663002698] Failed to read output from testmodel.py, exit status != 0: 0.3314704120057286 0.346501994 0.027469824 Calling exit ...