Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.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.001467/0.001467, allocations: 118 kB / 17.13 MB, free: 5.941 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.001537/0.001537, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.39/1.39, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.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.00237/0.00237, allocations: 282 kB / 303.6 MB, free: 3.648 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.018/1.018, allocations: 180.9 MB / 0.5268 GB, free: 2.676 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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 96.17 kB / 0.7259 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5321, allocations: 94.16 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02338/0.5555, allocations: 23.39 MB / 0.8407 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008382/0.5639, allocations: 5.1 MB / 0.8457 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.565, allocations: 26.97 kB / 0.8457 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009575/0.5659, allocations: 282.9 kB / 0.846 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.5685, allocations: 0.8318 MB / 0.8468 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.5708, allocations: 0.7732 MB / 0.8476 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002819/0.5737, allocations: 1.615 MB / 0.8491 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008536/0.5745, allocations: 424.6 kB / 0.8495 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.5766, allocations: 0.6324 MB / 0.8502 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008931/0.5775, allocations: 479.1 kB / 0.8506 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.871e-05/0.5775, allocations: 46.53 kB / 0.8507 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.579, allocations: 0.4962 MB / 0.8511 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.5792, allocations: 145.5 kB / 0.8513 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.5796, allocations: 308.4 kB / 0.8516 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.5813, allocations: 0.9239 MB / 0.8525 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5813, allocations: 0.7031 kB / 0.8525 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5813, allocations: 1.312 kB / 0.8525 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5813, allocations: 0 / 0.8525 GB, free: 15.78 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001543/0.5828, allocations: 0.9134 MB / 0.8534 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5829, allocations: 9.156 kB / 0.8534 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.5831, allocations: 69.2 kB / 0.8534 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.5842, allocations: 0.5802 MB / 0.854 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.5843, allocations: 33.66 kB / 0.854 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.5843, allocations: 37.81 kB / 0.8541 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.5851, allocations: 435.9 kB / 0.8545 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5851, allocations: 5.375 kB / 0.8545 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.5852, allocations: 15.38 kB / 0.8545 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.5852, allocations: 14.58 kB / 0.8545 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.5857, allocations: 307.3 kB / 0.8548 GB, free: 14.29 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.5887, allocations: 1.913 MB / 0.8567 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.5893, allocations: 245.1 kB / 0.8569 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.5895, allocations: 119.1 kB / 0.857 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009326/0.5904, allocations: 0.8426 MB / 0.8579 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.5904, allocations: 41.45 kB / 0.8579 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.5904, allocations: 0 / 0.8579 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007779/0.5912, allocations: 375.9 kB / 0.8583 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.5912, allocations: 58.62 kB / 0.8583 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.5919, allocations: 476.3 kB / 0.8588 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.5919, allocations: 32.61 kB / 0.8588 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.5921, allocations: 263.7 kB / 0.8591 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5923, allocations: 99.2 kB / 0.8591 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.5924, allocations: 78.34 kB / 0.8592 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5926, allocations: 357.1 kB / 0.8596 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.5928, allocations: 102.5 kB / 0.8597 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.593, allocations: 164.9 kB / 0.8598 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.5935, allocations: 284.1 kB / 0.8601 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5935, allocations: 1.469 kB / 0.8601 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006325/0.5941, allocations: 365.4 kB / 0.8604 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5941, allocations: 5.5 kB / 0.8604 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5941, allocations: 3.547 kB / 0.8604 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.5941, allocations: 2.75 kB / 0.8604 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.5944, allocations: 78.19 kB / 0.8605 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5944, allocations: 4.922 kB / 0.8605 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.5948, allocations: 38.23 kB / 0.8606 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.5948, allocations: 26.31 kB / 0.8606 GB, free: 10.11 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0002331/0.595, allocations: 174.6 kB / 0.8608 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5951, allocations: 52.42 kB / 0.8608 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008823/0.596, allocations: 473.5 kB / 0.8613 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.596, allocations: 10.11 kB / 0.8613 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5961, allocations: 0 / 0.8613 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006778/0.5967, allocations: 0.5707 MB / 0.8618 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.5987, allocations: 1.156 MB / 0.863 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.5988, allocations: 1.219 kB / 0.863 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.599, allocations: 54.69 kB / 0.863 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.599, allocations: 2.969 kB / 0.863 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.599, allocations: 9.312 kB / 0.863 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.599, allocations: 3.469 kB / 0.863 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.599, allocations: 5.094 kB / 0.863 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009593/0.6, allocations: 0.6709 MB / 0.8637 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.6002, allocations: 173.7 kB / 0.8638 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/0.6003, allocations: 12.12 kB / 0.8639 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.6006, allocations: 15.8 kB / 0.8639 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.6007, allocations: 20.19 kB / 0.8639 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.6007, allocations: 22.83 kB / 0.8639 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004769/0.6012, allocations: 344.3 kB / 0.8642 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6012, allocations: 4 kB / 0.8642 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008008/0.602, allocations: 197.9 kB / 0.8644 GB, free: 7.438 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0007879/0.6028, allocations: 312.8 kB / 0.8647 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005496/0.6033, allocations: 283.1 kB / 0.865 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6033, allocations: 1.438 kB / 0.865 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.6036, allocations: 142.3 kB / 0.8651 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6052, allocations: 337.4 kB / 0.8655 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.6071, allocations: 1.098 MB / 0.8665 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.6076, allocations: 0.8706 MB / 0.8674 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.6078, allocations: 55.83 kB / 0.8674 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.6078, allocations: 0 / 0.8674 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.01805/0.6258, allocations: 9.967 MB / 0.8772 GB, free: 152 kB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.344331534812227] Failed to read output from testmodel.py, exit status != 0: 0.6342804920859635 0.64788587 0.06359332000000001 Calling exit ...