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.0008663/0.0008663, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008722/0.0008724, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.386/1.386, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7129/0.7129, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 8 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02185/0.154, allocations: 21.3 MB / 0.5801 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2504/0.4045, allocations: 4.759 MB / 0.5848 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.4053, allocations: 26.06 kB / 0.5848 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.4059, allocations: 200.5 kB / 0.585 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.4075, allocations: 0.6496 MB / 0.5856 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.409, allocations: 0.5871 MB / 0.5862 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.4113, allocations: 1.848 MB / 0.588 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.412, allocations: 377.1 kB / 0.5884 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008673/0.4129, allocations: 0.506 MB / 0.5889 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005833/0.4134, allocations: 418.5 kB / 0.5893 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.4135, allocations: 21.09 kB / 0.5893 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008985/0.4144, allocations: 297.3 kB / 0.5896 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.4146, allocations: 111.6 kB / 0.5897 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.4147, allocations: 131.7 kB / 0.5898 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008089/0.4155, allocations: 0.6322 MB / 0.5904 GB, free: 11.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4155, allocations: 0.75 kB / 0.5904 GB, free: 11.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4155, allocations: 0 / 0.5904 GB, free: 11.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.4156, allocations: 0 / 0.5904 GB, free: 11.1 MB / 446.1 MB 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.001287/0.4168, allocations: 0.7894 MB / 0.5912 GB, free: 26.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4169, allocations: 9.125 kB / 0.5912 GB, free: 26.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.4171, allocations: 69.61 kB / 0.5913 GB, free: 26.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.418, allocations: 0.5428 MB / 0.5918 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.418, allocations: 31.86 kB / 0.5918 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.4181, allocations: 42.45 kB / 0.5919 GB, free: 26.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.4188, allocations: 432.6 kB / 0.5923 GB, free: 26.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4188, allocations: 0.8125 kB / 0.5923 GB, free: 26.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.4189, allocations: 20.81 kB / 0.5923 GB, free: 26.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.4189, allocations: 14.09 kB / 0.5923 GB, free: 26.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.4194, allocations: 301.7 kB / 0.5926 GB, free: 26.16 MB / 462.1 MB 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.002483/0.4219, allocations: 1.926 MB / 0.5945 GB, free: 25.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.4224, allocations: 265.3 kB / 0.5947 GB, free: 25.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.4226, allocations: 121 kB / 0.5948 GB, free: 25.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.4232, allocations: 0.865 MB / 0.5957 GB, free: 24.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.4232, allocations: 36.72 kB / 0.5957 GB, free: 24.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.4232, allocations: 0 / 0.5957 GB, free: 24.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006326/0.4239, allocations: 374.7 kB / 0.5961 GB, free: 24.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.4239, allocations: 54.09 kB / 0.5961 GB, free: 23.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.4245, allocations: 463.7 kB / 0.5966 GB, free: 23.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.4245, allocations: 34.14 kB / 0.5966 GB, free: 23.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4247, allocations: 260.9 kB / 0.5969 GB, free: 23.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.4248, allocations: 91 kB / 0.5969 GB, free: 23.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.4248, allocations: 7.094 kB / 0.5969 GB, free: 23.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4249, allocations: 357.1 kB / 0.5973 GB, free: 23.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.4251, allocations: 101.4 kB / 0.5974 GB, free: 23.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.4253, allocations: 166.8 kB / 0.5975 GB, free: 23.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.4255, allocations: 121.4 kB / 0.5977 GB, free: 23.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4255, allocations: 0.9375 kB / 0.5977 GB, free: 23.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005428/0.4261, allocations: 364 kB / 0.598 GB, free: 23.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4261, allocations: 7.172 kB / 0.598 GB, free: 23.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4261, allocations: 5.875 kB / 0.598 GB, free: 23.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4261, allocations: 3.031 kB / 0.598 GB, free: 23.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.4264, allocations: 78.27 kB / 0.5981 GB, free: 23.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4264, allocations: 4.25 kB / 0.5981 GB, free: 23.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.4267, allocations: 49.39 kB / 0.5981 GB, free: 23.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.4268, allocations: 13.02 kB / 0.5982 GB, free: 23.14 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.427, allocations: 177.3 kB / 0.5983 GB, free: 23.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.4271, allocations: 55.2 kB / 0.5984 GB, free: 23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008295/0.4279, allocations: 479 kB / 0.5988 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.4279, allocations: 11.36 kB / 0.5988 GB, free: 22.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4279, allocations: 4.891 kB / 0.5989 GB, free: 22.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005513/0.4285, allocations: 0.5623 MB / 0.5994 GB, free: 22.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.4303, allocations: 1.156 MB / 0.6005 GB, free: 22.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4303, allocations: 6.328 kB / 0.6005 GB, free: 22.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.4306, allocations: 49.3 kB / 0.6006 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4306, allocations: 10.56 kB / 0.6006 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.4306, allocations: 9.781 kB / 0.6006 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.4306, allocations: 3.984 kB / 0.6006 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4306, allocations: 1 kB / 0.6006 GB, free: 22.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/0.4315, allocations: 0.66 MB / 0.6013 GB, free: 21.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.4317, allocations: 184.7 kB / 0.6014 GB, free: 21.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.4318, allocations: 10.53 kB / 0.6014 GB, free: 21.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.432, allocations: 16.22 kB / 0.6015 GB, free: 21.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.4321, allocations: 26.66 kB / 0.6015 GB, free: 21.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.4322, allocations: 15.91 kB / 0.6015 GB, free: 21.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000451/0.4326, allocations: 336.3 kB / 0.6018 GB, free: 21.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4326, allocations: 0 / 0.6018 GB, free: 21.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007353/0.4334, allocations: 190.5 kB / 0.602 GB, free: 21.62 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005476/0.4339, allocations: 284.5 kB / 0.6023 GB, free: 21.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005908/0.4345, allocations: 290.4 kB / 0.6025 GB, free: 21.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.4345, allocations: 0.5 kB / 0.6025 GB, free: 21.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.4348, allocations: 162.3 kB / 0.6027 GB, free: 21.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.4362, allocations: 325.9 kB / 0.603 GB, free: 21.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4378, allocations: 1.347 MB / 0.6043 GB, free: 20.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.4383, allocations: 0.8609 MB / 0.6052 GB, free: 19.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004291/0.4387, allocations: 122.9 kB / 0.6053 GB, free: 19.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4389, allocations: 53.45 kB / 0.6053 GB, free: 19.95 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4389, allocations: 1.062 kB / 0.6053 GB, free: 19.95 MB / 462.1 MB Notification: Performance of Templates: time 0.0192/0.4581, allocations: 11.17 MB / 0.6162 GB, free: 16.09 MB / 462.1 MB 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)