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.001313/0.001313, allocations: 116 kB / 17.13 MB, free: 5.91 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.001225/0.001225, allocations: 196.1 kB / 18.07 MB, free: 4.98 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.381/1.381, allocations: 225.6 MB / 244.5 MB, free: 14.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8111/0.8111, allocations: 127 MB / 424.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 68.33 kB / 0.5883 GB, free: 22.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1691, allocations: 82.94 MB / 0.6693 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02699/0.1961, allocations: 23.38 MB / 0.6921 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008349/0.2044, allocations: 5.109 MB / 0.6971 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000969/0.2054, allocations: 31.81 kB / 0.6972 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008859/0.2063, allocations: 282 kB / 0.6974 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.2085, allocations: 0.8357 MB / 0.6983 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.2105, allocations: 0.776 MB / 0.699 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.2127, allocations: 1.613 MB / 0.7006 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000653/0.2134, allocations: 413.5 kB / 0.701 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.2153, allocations: 0.7246 MB / 0.7017 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006403/0.216, allocations: 470 kB / 0.7021 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/0.2161, allocations: 44 kB / 0.7022 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.2172, allocations: 0.4952 MB / 0.7027 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.2173, allocations: 155.4 kB / 0.7028 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.2177, allocations: 310.5 kB / 0.7031 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.2191, allocations: 0.9186 MB / 0.704 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2191, allocations: 0 / 0.704 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2191, allocations: 0 / 0.704 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2192, allocations: 7.938 kB / 0.704 GB, free: 2.961 MB / 0.5294 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.001493/0.2207, allocations: 0.9108 MB / 0.7049 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2207, allocations: 8.031 kB / 0.7049 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.2209, allocations: 68.56 kB / 0.705 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2219, allocations: 0.5801 MB / 0.7055 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.222, allocations: 29 kB / 0.7056 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.2221, allocations: 40 kB / 0.7056 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.2228, allocations: 440.7 kB / 0.706 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2228, allocations: 3.938 kB / 0.706 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.2228, allocations: 16 kB / 0.706 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.2228, allocations: 12 kB / 0.7061 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.2234, allocations: 303.8 kB / 0.7063 GB, free: 464 kB / 0.5294 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.002851/0.2262, allocations: 1.92 MB / 0.7082 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.2268, allocations: 254.8 kB / 0.7085 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.227, allocations: 112.8 kB / 0.7086 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/0.2279, allocations: 0.8428 MB / 0.7094 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.2279, allocations: 38.5 kB / 0.7094 GB, free: 12.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.2279, allocations: 0 / 0.7094 GB, free: 12.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.0007524/0.2287, allocations: 380.4 kB / 0.7098 GB, free: 12.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2287, allocations: 55.41 kB / 0.7098 GB, free: 12.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.2293, allocations: 470.1 kB / 0.7103 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.2294, allocations: 33.7 kB / 0.7103 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.2296, allocations: 264.3 kB / 0.7106 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.2297, allocations: 103.2 kB / 0.7107 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.2298, allocations: 69.97 kB / 0.7107 GB, free: 11.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.23, allocations: 358.8 kB / 0.7111 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.2302, allocations: 96.61 kB / 0.7112 GB, free: 11.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.2304, allocations: 176 kB / 0.7113 GB, free: 10.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.2309, allocations: 286.6 kB / 0.7116 GB, free: 10.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.2309, allocations: 4 kB / 0.7116 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006158/0.2315, allocations: 365.2 kB / 0.712 GB, free: 10.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2315, allocations: 11.88 kB / 0.712 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2315, allocations: 4 kB / 0.712 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2315, allocations: 4 kB / 0.712 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.2318, allocations: 71.91 kB / 0.7121 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.2318, allocations: 11.92 kB / 0.7121 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.2321, allocations: 35.67 kB / 0.7121 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.2321, allocations: 16 kB / 0.7121 GB, free: 10.1 MB / 0.545 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.0002493/0.2324, allocations: 182.1 kB / 0.7123 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2325, allocations: 55.61 kB / 0.7123 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/0.2333, allocations: 473 kB / 0.7128 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.2333, allocations: 8 kB / 0.7128 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2333, allocations: 0 / 0.7128 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006495/0.2339, allocations: 0.569 MB / 0.7134 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.2359, allocations: 1.148 MB / 0.7145 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2359, allocations: 3.984 kB / 0.7145 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.2361, allocations: 51.92 kB / 0.7145 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.2361, allocations: 4 kB / 0.7145 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.2361, allocations: 11.98 kB / 0.7146 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2361, allocations: 4 kB / 0.7146 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2361, allocations: 3.938 kB / 0.7146 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000958/0.2371, allocations: 0.6682 MB / 0.7152 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.2373, allocations: 176.8 kB / 0.7154 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.2374, allocations: 11.98 kB / 0.7154 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.2377, allocations: 19.94 kB / 0.7154 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.2377, allocations: 31.84 kB / 0.7154 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.2377, allocations: 16 kB / 0.7155 GB, free: 6.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004503/0.2382, allocations: 346.8 kB / 0.7158 GB, free: 6.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2382, allocations: 0 / 0.7158 GB, free: 6.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000665/0.2389, allocations: 199.6 kB / 0.716 GB, free: 5.918 MB / 0.545 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.0006576/0.2395, allocations: 296 kB / 0.7163 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.24, allocations: 284 kB / 0.7165 GB, free: 5.352 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.24, allocations: 4.062 kB / 0.7165 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.2403, allocations: 155.7 kB / 0.7167 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.2418, allocations: 325.1 kB / 0.717 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.2437, allocations: 1.111 MB / 0.7181 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.2442, allocations: 0.8588 MB / 0.7189 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.2444, allocations: 63.42 kB / 0.719 GB, free: 2.773 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/0.2444, allocations: 0 / 0.719 GB, free: 2.773 MB / 0.545 GB Notification: Performance of Templates: time 0.01573/0.2601, allocations: 9.937 MB / 0.7287 GB, free: 8.922 MB / 0.5606 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)