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.001627/0.001627, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001868/0.001868, allocations: 191.7 kB / 22.23 MB, free: 5.098 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.421/1.421, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.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.002499/0.002499, allocations: 287.7 kB / 306.6 MB, free: 8.34 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.219/1.219, allocations: 180.9 MB / 0.53 GB, free: 14.46 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.002795/0.002795, allocations: 99.28 kB / 0.7309 GB, free: 39.04 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1591, allocations: 94.2 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02714/0.1863, allocations: 23.61 MB / 0.8459 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008373/0.1946, allocations: 5.132 MB / 0.8509 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007197/0.1953, allocations: 39.69 kB / 0.8509 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007795/0.1961, allocations: 286 kB / 0.8512 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.198, allocations: 0.8475 MB / 0.852 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1998, allocations: 0.7928 MB / 0.8528 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.2018, allocations: 1.664 MB / 0.8544 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005651/0.2023, allocations: 390.1 kB / 0.8548 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.2037, allocations: 0.6482 MB / 0.8554 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006489/0.2043, allocations: 477.9 kB / 0.8559 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.571e-05/0.2044, allocations: 44 kB / 0.8559 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.2054, allocations: 0.503 MB / 0.8564 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.2056, allocations: 151.4 kB / 0.8566 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.2059, allocations: 306.5 kB / 0.8569 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2073, allocations: 0.9304 MB / 0.8578 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2073, allocations: 0 / 0.8578 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2073, allocations: 0 / 0.8578 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.2073, allocations: 0 / 0.8578 GB, free: 13.93 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.001382/0.2087, allocations: 0.8315 MB / 0.8586 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2087, allocations: 8.031 kB / 0.8586 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.2089, allocations: 72.56 kB / 0.8587 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.21, allocations: 0.5075 MB / 0.8592 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.21, allocations: 36.88 kB / 0.8592 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.2101, allocations: 47.98 kB / 0.8592 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.2109, allocations: 436.7 kB / 0.8597 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.2109, allocations: 0 / 0.8597 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.211, allocations: 19.94 kB / 0.8597 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.211, allocations: 8 kB / 0.8597 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.2116, allocations: 299.8 kB / 0.86 GB, free: 11.6 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.002981/0.2145, allocations: 1.785 MB / 0.8617 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.2151, allocations: 246.8 kB / 0.862 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.2153, allocations: 117.5 kB / 0.8621 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.2158, allocations: 108 kB / 0.8622 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.2158, allocations: 38.5 kB / 0.8622 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.2158, allocations: 4 kB / 0.8622 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007203/0.2166, allocations: 377 kB / 0.8626 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.2166, allocations: 63.34 kB / 0.8626 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.2172, allocations: 474 kB / 0.8631 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.2173, allocations: 33.7 kB / 0.8631 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2175, allocations: 260.4 kB / 0.8634 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.2176, allocations: 103.1 kB / 0.8635 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.2177, allocations: 73.97 kB / 0.8635 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2179, allocations: 358.8 kB / 0.8639 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.2181, allocations: 92.61 kB / 0.864 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.2183, allocations: 177.4 kB / 0.8641 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.2188, allocations: 275.7 kB / 0.8644 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2188, allocations: 0 / 0.8644 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005945/0.2194, allocations: 369.1 kB / 0.8647 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2194, allocations: 6.25 kB / 0.8648 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2194, allocations: 8 kB / 0.8648 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2194, allocations: 4 kB / 0.8648 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.2197, allocations: 71.84 kB / 0.8648 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2197, allocations: 11.92 kB / 0.8648 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.22, allocations: 39.69 kB / 0.8649 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.22, allocations: 12 kB / 0.8649 GB, free: 6.344 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.000215/0.2202, allocations: 181.8 kB / 0.8651 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.2203, allocations: 47.72 kB / 0.8651 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/0.2212, allocations: 0.4927 MB / 0.8656 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.2212, allocations: 7.938 kB / 0.8656 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2212, allocations: 0 / 0.8656 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006815/0.2219, allocations: 0.5726 MB / 0.8662 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.2238, allocations: 1.068 MB / 0.8672 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2238, allocations: 0 / 0.8672 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.2241, allocations: 51.91 kB / 0.8673 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.2241, allocations: 4 kB / 0.8673 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.2241, allocations: 8 kB / 0.8673 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.2241, allocations: 4 kB / 0.8673 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2241, allocations: 3.984 kB / 0.8673 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.2251, allocations: 0.6882 MB / 0.8679 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.2253, allocations: 95.55 kB / 0.868 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.2254, allocations: 11.98 kB / 0.868 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2257, allocations: 8 kB / 0.8681 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.2257, allocations: 27.95 kB / 0.8681 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.2258, allocations: 23.92 kB / 0.8681 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004543/0.2262, allocations: 346.9 kB / 0.8684 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2262, allocations: 0 / 0.8684 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006749/0.2269, allocations: 195.6 kB / 0.8686 GB, free: 2.34 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.0006819/0.2276, allocations: 302.7 kB / 0.8689 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005302/0.2281, allocations: 292.2 kB / 0.8692 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2281, allocations: 4.125 kB / 0.8692 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.2284, allocations: 147.8 kB / 0.8693 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.2299, allocations: 348.3 kB / 0.8697 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.2318, allocations: 1.068 MB / 0.8707 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.2324, allocations: 0.8627 MB / 0.8715 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003472/0.2327, allocations: 120.7 kB / 0.8717 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.2328, allocations: 59.36 kB / 0.8717 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2328, allocations: 0 / 0.8717 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.02277/0.2556, allocations: 12.55 MB / 0.884 GB, free: 2.738 MB / 0.6231 GB " [Timeout remaining time 660] 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.430693596601486] Failed to read output from testmodel.py, exit status != 0: 0.26299927197396755 0.287445459 0.075470876 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc6c8fc57b0>