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.001504/0.001504, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001615/0.001615, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.406/1.406, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.002535/0.002535, allocations: 285.1 kB / 306.4 MB, free: 8.477 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.224/1.224, allocations: 180.9 MB / 0.5298 GB, free: 14.63 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.00282/0.00282, allocations: 106.1 kB / 0.7306 GB, free: 39.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1587, allocations: 94.16 MB / 0.8225 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.0264/0.1851, allocations: 23.6 MB / 0.8456 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008175/0.1933, allocations: 5.128 MB / 0.8506 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008452/0.1941, allocations: 23.88 kB / 0.8506 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000883/0.195, allocations: 286 kB / 0.8509 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.1972, allocations: 0.828 MB / 0.8517 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.1992, allocations: 0.7868 MB / 0.8525 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2012, allocations: 1.617 MB / 0.854 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006115/0.2018, allocations: 397.6 kB / 0.8544 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.2033, allocations: 0.631 MB / 0.855 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.204, allocations: 473.9 kB / 0.8555 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.204, allocations: 48 kB / 0.8555 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.2051, allocations: 0.4952 MB / 0.856 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.2053, allocations: 147.5 kB / 0.8561 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.2056, allocations: 310.5 kB / 0.8564 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.207, allocations: 0.9263 MB / 0.8573 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.207, allocations: 0 / 0.8573 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.207, allocations: 0 / 0.8573 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.207, allocations: 0 / 0.8573 GB, free: 14.63 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.001421/0.2085, allocations: 0.9068 MB / 0.8582 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2085, allocations: 8.031 kB / 0.8582 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.2087, allocations: 68.56 kB / 0.8583 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2098, allocations: 0.5809 MB / 0.8589 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.2098, allocations: 40.92 kB / 0.8589 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.2099, allocations: 43.94 kB / 0.859 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.2106, allocations: 432.7 kB / 0.8594 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.2107, allocations: 4 kB / 0.8594 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.2107, allocations: 16 kB / 0.8594 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.2107, allocations: 8 kB / 0.8594 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.2112, allocations: 307.8 kB / 0.8597 GB, free: 12.12 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.002829/0.2141, allocations: 1.912 MB / 0.8616 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.2146, allocations: 246.8 kB / 0.8618 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.2148, allocations: 116.7 kB / 0.8619 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009284/0.2157, allocations: 0.8506 MB / 0.8627 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2157, allocations: 34.56 kB / 0.8628 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.2157, allocations: 4 kB / 0.8628 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007369/0.2165, allocations: 377.7 kB / 0.8631 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.2165, allocations: 59.34 kB / 0.8632 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.2171, allocations: 478 kB / 0.8636 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.2171, allocations: 29.7 kB / 0.8637 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.2174, allocations: 260.4 kB / 0.8639 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/0.2175, allocations: 99.16 kB / 0.864 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2176, allocations: 77.97 kB / 0.8641 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.2178, allocations: 358.8 kB / 0.8644 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.218, allocations: 96.61 kB / 0.8645 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.2182, allocations: 172.1 kB / 0.8647 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.2187, allocations: 287.7 kB / 0.865 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2187, allocations: 0 / 0.865 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006324/0.2193, allocations: 365.1 kB / 0.8653 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2193, allocations: 8 kB / 0.8653 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2193, allocations: 0 / 0.8653 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2194, allocations: 4.047 kB / 0.8653 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.2196, allocations: 75.83 kB / 0.8654 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2197, allocations: 7.984 kB / 0.8654 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.2199, allocations: 47.62 kB / 0.8654 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.22, allocations: 12 kB / 0.8655 GB, free: 5.773 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.0002171/0.2202, allocations: 193.6 kB / 0.8656 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2203, allocations: 51.66 kB / 0.8657 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/0.2211, allocations: 468.8 kB / 0.8661 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.2212, allocations: 11.94 kB / 0.8661 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2212, allocations: 0 / 0.8661 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006699/0.2218, allocations: 0.5731 MB / 0.8667 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.2238, allocations: 1.149 MB / 0.8678 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2238, allocations: 4 kB / 0.8678 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.224, allocations: 43.92 kB / 0.8679 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.224, allocations: 4 kB / 0.8679 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.224, allocations: 11.98 kB / 0.8679 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.224, allocations: 4 kB / 0.8679 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.224, allocations: 4 kB / 0.8679 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.225, allocations: 0.6759 MB / 0.8686 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.2252, allocations: 180.5 kB / 0.8687 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.092e-05/0.2253, allocations: 12 kB / 0.8687 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.2255, allocations: 15.98 kB / 0.8688 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.2256, allocations: 27.91 kB / 0.8688 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.2256, allocations: 15.94 kB / 0.8688 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004517/0.2261, allocations: 350.8 kB / 0.8691 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2261, allocations: 0 / 0.8691 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006497/0.2267, allocations: 195.6 kB / 0.8693 GB, free: 1.586 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.0006645/0.2274, allocations: 298.1 kB / 0.8696 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.2279, allocations: 275.7 kB / 0.8699 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2279, allocations: 0 / 0.8699 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.2282, allocations: 155.7 kB / 0.87 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.2297, allocations: 329.5 kB / 0.8703 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.2315, allocations: 1.084 MB / 0.8714 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.232, allocations: 0.8666 MB / 0.8722 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003366/0.2323, allocations: 128.6 kB / 0.8724 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.2324, allocations: 51.42 kB / 0.8724 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of SimCode: time 4.3e-07/0.2324, allocations: 0 / 0.8724 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of Templates: time 0.0214/0.2538, allocations: 12.45 MB / 0.8846 GB, free: 2.109 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.44279510807246] Failed to read output from testmodel.py, exit status != 0: 0.261833178345114 0.276139772 0.06608723600000001 Calling exit ...