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.001646/0.001646, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001767/0.001767, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.445/1.445, allocations: 225.6 MB / 249.4 MB, free: 3.168 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.002349/0.002349, allocations: 286.9 kB / 304.8 MB, free: 3.48 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.068/1.068, allocations: 180.9 MB / 0.5281 GB, free: 1.91 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.002743/0.002743, allocations: 107.8 kB / 0.7283 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.544, allocations: 94.16 MB / 0.8203 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02794/0.5719, allocations: 23.61 MB / 0.8434 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008734/0.5807, allocations: 5.126 MB / 0.8484 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008028/0.5815, allocations: 24.84 kB / 0.8484 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008105/0.5823, allocations: 292.2 kB / 0.8487 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.5843, allocations: 0.824 MB / 0.8495 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.5862, allocations: 0.773 MB / 0.8502 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002013/0.5882, allocations: 1.62 MB / 0.8518 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006016/0.5888, allocations: 403.5 kB / 0.8522 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.5902, allocations: 0.6336 MB / 0.8528 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.5908, allocations: 480.4 kB / 0.8533 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.5909, allocations: 46.28 kB / 0.8533 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.5919, allocations: 0.4945 MB / 0.8538 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.5921, allocations: 151.9 kB / 0.8539 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.5924, allocations: 305.8 kB / 0.8542 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.5938, allocations: 0.9263 MB / 0.8551 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5938, allocations: 0 / 0.8551 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5938, allocations: 0 / 0.8551 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.5938, allocations: 1.344 kB / 0.8551 GB, free: 9.258 MB / 0.5919 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.001366/0.5951, allocations: 0.9123 MB / 0.856 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.5952, allocations: 9.25 kB / 0.856 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.5954, allocations: 67.53 kB / 0.8561 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.5964, allocations: 0.5775 MB / 0.8567 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.5964, allocations: 36.62 kB / 0.8567 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.5965, allocations: 37.97 kB / 0.8567 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.5972, allocations: 439.7 kB / 0.8572 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5972, allocations: 1.188 kB / 0.8572 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.5973, allocations: 15.75 kB / 0.8572 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.5973, allocations: 9.875 kB / 0.8572 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.5978, allocations: 312.8 kB / 0.8575 GB, free: 7.496 MB / 0.5919 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.002741/0.6006, allocations: 1.909 MB / 0.8593 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.6011, allocations: 252.6 kB / 0.8596 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.6013, allocations: 124.7 kB / 0.8597 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009081/0.6022, allocations: 0.8389 MB / 0.8605 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6022, allocations: 42.56 kB / 0.8606 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.6022, allocations: 0 / 0.8606 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.0007093/0.6029, allocations: 380.5 kB / 0.8609 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.603, allocations: 55.34 kB / 0.861 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.6035, allocations: 478 kB / 0.8614 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.6036, allocations: 29.7 kB / 0.8615 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.6038, allocations: 268.3 kB / 0.8617 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/0.6039, allocations: 99.11 kB / 0.8618 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.604, allocations: 73.97 kB / 0.8619 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.6042, allocations: 362.8 kB / 0.8622 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.6044, allocations: 100.6 kB / 0.8623 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.6046, allocations: 164.1 kB / 0.8625 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.6051, allocations: 283.7 kB / 0.8627 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6051, allocations: 4 kB / 0.8628 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006034/0.6057, allocations: 365.1 kB / 0.8631 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.6057, allocations: 8 kB / 0.8631 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6057, allocations: 0 / 0.8631 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6057, allocations: 4 kB / 0.8631 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.606, allocations: 75.78 kB / 0.8632 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.606, allocations: 7.984 kB / 0.8632 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.6063, allocations: 39.73 kB / 0.8632 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.6063, allocations: 8.219 kB / 0.8632 GB, free: 1.332 MB / 0.5919 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.0002394/0.6066, allocations: 189.8 kB / 0.8634 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.6067, allocations: 55.61 kB / 0.8635 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000857/0.6075, allocations: 469 kB / 0.8639 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.6075, allocations: 7.938 kB / 0.8639 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6075, allocations: 0 / 0.8639 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000644/0.6082, allocations: 0.5684 MB / 0.8645 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.6101, allocations: 1.157 MB / 0.8656 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6101, allocations: 0 / 0.8656 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.6103, allocations: 47.92 kB / 0.8657 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6103, allocations: 7.938 kB / 0.8657 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.6103, allocations: 11.98 kB / 0.8657 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.6103, allocations: 4 kB / 0.8657 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6103, allocations: 0 / 0.8657 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/0.6113, allocations: 0.6761 MB / 0.8663 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.6115, allocations: 180.6 kB / 0.8665 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.6116, allocations: 8 kB / 0.8665 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.6118, allocations: 11.98 kB / 0.8665 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.6119, allocations: 27.91 kB / 0.8666 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.6119, allocations: 19.94 kB / 0.8666 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004403/0.6124, allocations: 346.8 kB / 0.8669 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6124, allocations: 0 / 0.8669 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006841/0.6131, allocations: 199.6 kB / 0.8671 GB, free: 13.14 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.0006337/0.6137, allocations: 305.5 kB / 0.8674 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.6142, allocations: 271.7 kB / 0.8676 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6142, allocations: 4 kB / 0.8677 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.6145, allocations: 151.7 kB / 0.8678 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6159, allocations: 337.3 kB / 0.8681 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.6176, allocations: 1.078 MB / 0.8692 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.6181, allocations: 0.8666 MB / 0.87 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003419/0.6184, allocations: 124.6 kB / 0.8701 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.6186, allocations: 55.42 kB / 0.8702 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.6186, allocations: 0 / 0.8702 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of Templates: time 0.02373/0.6423, allocations: 12.44 MB / 0.8823 GB, free: 13.66 MB / 0.6231 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: 6.728048913180828]