Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") translateModel(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 106.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8489/0.8489, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.03 kB / 0.5685 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1759, allocations: 77.94 MB / 0.6446 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02302/0.199, allocations: 23.19 MB / 0.6672 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007413/0.2064, allocations: 5.109 MB / 0.6722 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009243/0.2074, allocations: 27.81 kB / 0.6722 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008417/0.2082, allocations: 270.1 kB / 0.6725 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.2104, allocations: 0.7928 MB / 0.6733 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.2123, allocations: 0.765 MB / 0.674 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.2143, allocations: 1.606 MB / 0.6756 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/0.215, allocations: 497.2 kB / 0.6761 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.2165, allocations: 0.6193 MB / 0.6767 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.2171, allocations: 446 kB / 0.6771 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.2172, allocations: 44 kB / 0.6771 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.2183, allocations: 495.1 kB / 0.6776 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.2185, allocations: 139.5 kB / 0.6777 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.2188, allocations: 306.5 kB / 0.678 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.2202, allocations: 0.9264 MB / 0.6789 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2202, allocations: 0 / 0.6789 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2202, allocations: 0 / 0.6789 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.2202, allocations: 4 kB / 0.6789 GB, free: 5.711 MB / 0.5137 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.001297/0.2215, allocations: 0.9068 MB / 0.6798 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2216, allocations: 12.62 kB / 0.6798 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.2218, allocations: 68.55 kB / 0.6799 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/0.2227, allocations: 0.5809 MB / 0.6805 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.2228, allocations: 32.94 kB / 0.6805 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.2229, allocations: 39.94 kB / 0.6805 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.2236, allocations: 452.6 kB / 0.681 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2236, allocations: 0 / 0.681 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.2237, allocations: 16 kB / 0.681 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.2237, allocations: 12 kB / 0.681 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.2242, allocations: 299.8 kB / 0.6813 GB, free: 3.195 MB / 0.5137 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.002557/0.2268, allocations: 1.923 MB / 0.6832 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.2273, allocations: 252.3 kB / 0.6834 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.2275, allocations: 128.7 kB / 0.6835 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/0.2283, allocations: 0.8506 MB / 0.6844 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.2283, allocations: 34.56 kB / 0.6844 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.2283, allocations: 0 / 0.6844 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.0006755/0.229, allocations: 381.4 kB / 0.6848 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2291, allocations: 59.34 kB / 0.6848 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.2296, allocations: 474 kB / 0.6853 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2296, allocations: 29.7 kB / 0.6853 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.2298, allocations: 268.5 kB / 0.6855 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.2299, allocations: 95.17 kB / 0.6856 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.23, allocations: 77.97 kB / 0.6857 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2302, allocations: 354.8 kB / 0.686 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.2303, allocations: 100.6 kB / 0.6861 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.2306, allocations: 172 kB / 0.6863 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.231, allocations: 290.6 kB / 0.6866 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.231, allocations: 0 / 0.6866 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000574/0.2316, allocations: 357.1 kB / 0.6869 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2316, allocations: 8 kB / 0.6869 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2316, allocations: 0 / 0.6869 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2316, allocations: 4 kB / 0.6869 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2319, allocations: 80.05 kB / 0.687 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.2319, allocations: 4 kB / 0.687 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.2322, allocations: 47.62 kB / 0.6871 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.2322, allocations: 15.98 kB / 0.6871 GB, free: 12.82 MB / 0.5294 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.0001902/0.2324, allocations: 182 kB / 0.6873 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.2325, allocations: 47.72 kB / 0.6873 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.2333, allocations: 481 kB / 0.6878 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.2333, allocations: 11.92 kB / 0.6878 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2333, allocations: 0 / 0.6878 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000528/0.2339, allocations: 0.5645 MB / 0.6883 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.2355, allocations: 1.148 MB / 0.6894 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2356, allocations: 4 kB / 0.6894 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.2358, allocations: 51.91 kB / 0.6895 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2358, allocations: 4.188 kB / 0.6895 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.2358, allocations: 12 kB / 0.6895 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.2358, allocations: 0 / 0.6895 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2358, allocations: 7.938 kB / 0.6895 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000818/0.2367, allocations: 0.6755 MB / 0.6902 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.2369, allocations: 180.6 kB / 0.6903 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.2369, allocations: 11.98 kB / 0.6904 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.2372, allocations: 12 kB / 0.6904 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.2372, allocations: 27.91 kB / 0.6904 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.2373, allocations: 19.92 kB / 0.6904 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003877/0.2377, allocations: 350.9 kB / 0.6908 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2377, allocations: 0 / 0.6908 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006244/0.2383, allocations: 195.6 kB / 0.6909 GB, free: 8.637 MB / 0.5294 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.0006222/0.239, allocations: 290.3 kB / 0.6912 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.2395, allocations: 291.7 kB / 0.6915 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2395, allocations: 4 kB / 0.6915 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.2397, allocations: 159.8 kB / 0.6917 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.2412, allocations: 348.8 kB / 0.692 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.2428, allocations: 1.068 MB / 0.693 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.2432, allocations: 0.8627 MB / 0.6939 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.2436, allocations: 116.7 kB / 0.694 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2437, allocations: 55.42 kB / 0.694 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.2438, allocations: 7.938 kB / 0.694 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of Templates: time 0.02105/0.2648, allocations: 12.22 MB / 0.706 GB, free: 9.328 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)