Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.00132/0.00132, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.001457/0.001457, allocations: 164.2 kB / 22.46 MB, free: 5.375 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.436/1.436, allocations: 177.2 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.002673/0.002673, allocations: 233.5 kB / 259.4 MB, free: 476 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.073/1.073, allocations: 138.4 MB / 454.3 MB, free: 2.004 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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.349e-05, allocations: 9.734 kB / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.01034/0.01037, allocations: 4.514 MB / 0.6512 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2929/0.3032, allocations: 2.462 MB / 0.6536 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.3034, allocations: 0 / 0.6536 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.3037, allocations: 39.11 kB / 0.6537 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.304, allocations: 108.1 kB / 0.6538 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3054, allocations: 0.5306 MB / 0.6543 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.3057, allocations: 243.7 kB / 0.6545 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.911e-05/0.3058, allocations: 5.469 kB / 0.6545 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.3061, allocations: 162.3 kB / 0.6547 GB, free: 53.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.3063, allocations: 81.77 kB / 0.6548 GB, free: 52.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.3063, allocations: 7.156 kB / 0.6548 GB, free: 52.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006773/0.307, allocations: 315.3 kB / 0.6551 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.3071, allocations: 40.45 kB / 0.6551 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.3072, allocations: 60.97 kB / 0.6552 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007998/0.308, allocations: 381.3 kB / 0.6555 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.308, allocations: 0.6562 kB / 0.6555 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.308, allocations: 0 / 0.6555 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.308, allocations: 0.7188 kB / 0.6555 GB, free: 52.82 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.0007354/0.3087, allocations: 446.2 kB / 0.6559 GB, free: 52.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3088, allocations: 12.62 kB / 0.656 GB, free: 52.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.309, allocations: 28.83 kB / 0.656 GB, free: 52.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.3092, allocations: 148.4 kB / 0.6561 GB, free: 52.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3092, allocations: 14.11 kB / 0.6561 GB, free: 52.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3093, allocations: 23.06 kB / 0.6562 GB, free: 52.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.3096, allocations: 487.1 kB / 0.6566 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3097, allocations: 3.438 kB / 0.6566 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.3097, allocations: 4.312 kB / 0.6566 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.3097, allocations: 10.34 kB / 0.6566 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.3101, allocations: 422.6 kB / 0.6571 GB, free: 51.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.311, allocations: 0.7738 MB / 0.6578 GB, free: 51.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.3113, allocations: 146.4 kB / 0.6579 GB, free: 51.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.3114, allocations: 53.33 kB / 0.658 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/0.312, allocations: 452.7 kB / 0.6584 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.312, allocations: 41.62 kB / 0.6585 GB, free: 51.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.312, allocations: 0.625 kB / 0.6585 GB, free: 51.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003165/0.3123, allocations: 137 kB / 0.6586 GB, free: 51.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.3124, allocations: 54.62 kB / 0.6587 GB, free: 50.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3125, allocations: 170.1 kB / 0.6588 GB, free: 50.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3125, allocations: 29.11 kB / 0.6588 GB, free: 50.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.3125, allocations: 142.2 kB / 0.659 GB, free: 50.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.3126, allocations: 58.06 kB / 0.659 GB, free: 50.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.3126, allocations: 53.41 kB / 0.6591 GB, free: 50.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.3127, allocations: 328.4 kB / 0.6594 GB, free: 50.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.3127, allocations: 33.16 kB / 0.6594 GB, free: 50.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.3128, allocations: 144 kB / 0.6596 GB, free: 50.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.313, allocations: 203.1 kB / 0.6598 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.313, allocations: 0 / 0.6598 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000283/0.3133, allocations: 220.6 kB / 0.66 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3133, allocations: 7.656 kB / 0.66 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3133, allocations: 3.188 kB / 0.66 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3133, allocations: 6.5 kB / 0.66 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3135, allocations: 62.36 kB / 0.66 GB, free: 49.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3135, allocations: 6.5 kB / 0.6601 GB, free: 49.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3136, allocations: 27.12 kB / 0.6601 GB, free: 49.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3137, allocations: 16.12 kB / 0.6601 GB, free: 49.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.86e-05/0.3137, allocations: 131.3 kB / 0.6602 GB, free: 49.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.3138, allocations: 17.83 kB / 0.6602 GB, free: 49.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.3141, allocations: 157.2 kB / 0.6604 GB, free: 49.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3141, allocations: 3.531 kB / 0.6604 GB, free: 49.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3141, allocations: 0.6875 kB / 0.6604 GB, free: 49.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3141, allocations: 0 / 0.6604 GB, free: 49.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.3142, allocations: 162.1 kB / 0.6605 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3142, allocations: 0 / 0.6605 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3144, allocations: 30.31 kB / 0.6606 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3144, allocations: 2.5 kB / 0.6606 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3144, allocations: 6.031 kB / 0.6606 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3144, allocations: 4 kB / 0.6606 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3144, allocations: 0 / 0.6606 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.3146, allocations: 224.9 kB / 0.6608 GB, free: 49.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.3146, allocations: 34.64 kB / 0.6608 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3147, allocations: 0 / 0.6608 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3149, allocations: 16.41 kB / 0.6608 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.3149, allocations: 9.891 kB / 0.6609 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3149, allocations: 9.719 kB / 0.6609 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.315, allocations: 111.4 kB / 0.661 GB, free: 49.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.315, allocations: 0 / 0.661 GB, free: 49.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004084/0.3154, allocations: 82.89 kB / 0.6611 GB, free: 49.42 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003739/0.3158, allocations: 192.5 kB / 0.6612 GB, free: 49.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.316, allocations: 106.8 kB / 0.6613 GB, free: 49.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.316, allocations: 7.062 kB / 0.6613 GB, free: 49.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.206e-05/0.3161, allocations: 42.59 kB / 0.6614 GB, free: 49.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3165, allocations: 38.91 kB / 0.6614 GB, free: 49.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/0.3172, allocations: 312.4 kB / 0.6617 GB, free: 49.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.002e-05/0.3173, allocations: 101 kB / 0.6618 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000158/0.3175, allocations: 47.55 kB / 0.6619 GB, free: 49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.3175, allocations: 26.5 kB / 0.6619 GB, free: 48.99 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.3175, allocations: 0 / 0.6619 GB, free: 48.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.007106/0.3246, allocations: 3.146 MB / 0.665 GB, free: 48.61 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.963399797677994] Failed to read output from testmodel.py, exit status != 0: 0.3353176638484001 0.34540490599999996 0.034618892000000005 Calling exit ...