Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001387/0.001387, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002573/0.002573, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.444/1.444, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.00248/0.00248, allocations: 237.3 kB / 259.4 MB, free: 484 kB / 238.1 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 1.096/1.096, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.1 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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6468 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.058e-05, allocations: 9.656 kB / 0.6468 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005965/0.005995, allocations: 3.895 MB / 0.6507 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2985/0.3045, allocations: 2.223 MB / 0.6528 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.3046, allocations: 4.562 kB / 0.6528 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.305, allocations: 45.36 kB / 0.6529 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.3053, allocations: 105.1 kB / 0.653 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.3069, allocations: 0.5639 MB / 0.6535 GB, free: 53.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.3072, allocations: 269.2 kB / 0.6538 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.3072, allocations: 6.031 kB / 0.6538 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.3075, allocations: 161.4 kB / 0.6539 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.3076, allocations: 82.89 kB / 0.654 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.3076, allocations: 11 kB / 0.654 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.3083, allocations: 399 kB / 0.6544 GB, free: 53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.745e-05/0.3084, allocations: 43.11 kB / 0.6544 GB, free: 52.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.3085, allocations: 63.59 kB / 0.6545 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006112/0.3091, allocations: 436.7 kB / 0.6549 GB, free: 52.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3091, allocations: 0.6875 kB / 0.6549 GB, free: 52.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3091, allocations: 0 / 0.6549 GB, free: 52.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3091, allocations: 0.5625 kB / 0.6549 GB, free: 52.94 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007374/0.3098, allocations: 455.7 kB / 0.6554 GB, free: 52.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3099, allocations: 10.56 kB / 0.6554 GB, free: 52.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.312, allocations: 184.8 kB / 0.6555 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3123, allocations: 150.1 kB / 0.6557 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.3124, allocations: 22.02 kB / 0.6557 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.3124, allocations: 14.28 kB / 0.6557 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.3131, allocations: 0.496 MB / 0.6562 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3131, allocations: 192 / 0.6562 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.3131, allocations: 18.38 kB / 0.6562 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.3132, allocations: 10.41 kB / 0.6562 GB, free: 52.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.3139, allocations: 247.8 kB / 0.6565 GB, free: 52.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.3152, allocations: 1.157 MB / 0.6576 GB, free: 51.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.3159, allocations: 188.4 kB / 0.6578 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.3161, allocations: 72.05 kB / 0.6579 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.3161, allocations: 3.125 kB / 0.6579 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3162, allocations: 38.98 kB / 0.6579 GB, free: 51.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.552e-06/0.3162, allocations: 3.094 kB / 0.6579 GB, free: 51.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008507/0.317, allocations: 256.2 kB / 0.6581 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.317, allocations: 56.66 kB / 0.6582 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3172, allocations: 140.5 kB / 0.6583 GB, free: 50.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3172, allocations: 28.89 kB / 0.6584 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.3172, allocations: 132.4 kB / 0.6585 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.3173, allocations: 63.83 kB / 0.6585 GB, free: 50.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-05/0.3174, allocations: 57.53 kB / 0.6586 GB, free: 50.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.3174, allocations: 321.1 kB / 0.6589 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3176, allocations: 61.91 kB / 0.659 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.3179, allocations: 143.5 kB / 0.6591 GB, free: 50.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.3183, allocations: 215.9 kB / 0.6593 GB, free: 50.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3183, allocations: 7.219 kB / 0.6593 GB, free: 50.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005485/0.3189, allocations: 251.5 kB / 0.6596 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3189, allocations: 10.5 kB / 0.6596 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3189, allocations: 3.156 kB / 0.6596 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3189, allocations: 3.25 kB / 0.6596 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3193, allocations: 73.66 kB / 0.6596 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3193, allocations: 3.031 kB / 0.6596 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3195, allocations: 28.42 kB / 0.6597 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.3195, allocations: 16.67 kB / 0.6597 GB, free: 50.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.429e-05/0.3196, allocations: 127.1 kB / 0.6598 GB, free: 49.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.3197, allocations: 18.31 kB / 0.6598 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/0.3203, allocations: 225.8 kB / 0.66 GB, free: 49.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3203, allocations: 3.312 kB / 0.66 GB, free: 49.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3203, allocations: 4 kB / 0.66 GB, free: 49.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3203, allocations: 0 / 0.66 GB, free: 49.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3205, allocations: 180.5 kB / 0.6602 GB, free: 49.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3205, allocations: 3.938 kB / 0.6602 GB, free: 49.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.3208, allocations: 51.97 kB / 0.6603 GB, free: 49.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3208, allocations: 3.25 kB / 0.6603 GB, free: 49.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3209, allocations: 13.16 kB / 0.6603 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3209, allocations: 0 / 0.6603 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3209, allocations: 3.219 kB / 0.6603 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.3214, allocations: 292.4 kB / 0.6606 GB, free: 49.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.3214, allocations: 28.3 kB / 0.6606 GB, free: 49.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.3215, allocations: 11.09 kB / 0.6606 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.3218, allocations: 16.61 kB / 0.6606 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.3218, allocations: 12.75 kB / 0.6606 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3218, allocations: 10.06 kB / 0.6606 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.3219, allocations: 104.4 kB / 0.6607 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3219, allocations: 4 kB / 0.6607 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003778/0.3222, allocations: 67.61 kB / 0.6608 GB, free: 49.49 MB / 0.5606 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 (20): * Single equations (assignments): 20 * 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.0002155/0.3225, allocations: 137.3 kB / 0.6609 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005137/0.323, allocations: 169.1 kB / 0.6611 GB, free: 49.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.323, allocations: 3.156 kB / 0.6611 GB, free: 49.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.3232, allocations: 82.62 kB / 0.6612 GB, free: 49.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.3236, allocations: 46.14 kB / 0.6612 GB, free: 49.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/0.3245, allocations: 372.9 kB / 0.6616 GB, free: 49.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.391e-05/0.3246, allocations: 107.4 kB / 0.6617 GB, free: 49.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002225/0.3248, allocations: 46.16 kB / 0.6617 GB, free: 49.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.3249, allocations: 23.08 kB / 0.6618 GB, free: 49 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.3249, allocations: 2.938 kB / 0.6618 GB, free: 49 MB / 0.5606 GB Notification: Performance of Templates: time 0.006477/0.3314, allocations: 3.044 MB / 0.6647 GB, free: 48.72 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.139657728374004] Failed to read output from testmodel.py, exit status != 0: 0.33951180055737495 0.350745964 0.038893941 Calling exit ...