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.0009751/0.0009752, allocations: 93.34 kB / 16.02 MB, free: 84 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.001222/0.001222, allocations: 185.9 kB / 16.92 MB, free: 6.891 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 13.11 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 77.54 MB / 0.56 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.0222/0.1823, allocations: 22.47 MB / 0.5819 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3032/0.4855, allocations: 5.044 MB / 0.5868 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.4867, allocations: 23.94 kB / 0.5869 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009183/0.4876, allocations: 228.9 kB / 0.5871 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.4898, allocations: 0.7355 MB / 0.5878 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.492, allocations: 0.6796 MB / 0.5885 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00386/0.4959, allocations: 2.171 MB / 0.5906 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.4968, allocations: 402.1 kB / 0.591 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.4981, allocations: 0.5235 MB / 0.5915 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000709/0.4988, allocations: 443.8 kB / 0.5919 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.4988, allocations: 21.12 kB / 0.5919 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.5002, allocations: 467.7 kB / 0.5924 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.5003, allocations: 115.1 kB / 0.5925 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.5007, allocations: 302.2 kB / 0.5928 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.5022, allocations: 0.8774 MB / 0.5936 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5022, allocations: 0 / 0.5936 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5023, allocations: 0 / 0.5936 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.5023, allocations: 0.8125 kB / 0.5936 GB, free: 10.62 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.001567/0.5038, allocations: 0.7818 MB / 0.5944 GB, free: 26.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5039, allocations: 11.12 kB / 0.5944 GB, free: 26.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.5041, allocations: 67.7 kB / 0.5945 GB, free: 26.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5053, allocations: 0.5667 MB / 0.595 GB, free: 25.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.5054, allocations: 26.5 kB / 0.595 GB, free: 25.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.5055, allocations: 43.42 kB / 0.5951 GB, free: 25.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/0.5064, allocations: 437.1 kB / 0.5955 GB, free: 25.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.5064, allocations: 0.6562 kB / 0.5955 GB, free: 25.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.5065, allocations: 15.94 kB / 0.5955 GB, free: 25.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.5065, allocations: 10.52 kB / 0.5955 GB, free: 25.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.5071, allocations: 311.4 kB / 0.5958 GB, free: 25.65 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.002813/0.51, allocations: 1.933 MB / 0.5977 GB, free: 24.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.5105, allocations: 262.9 kB / 0.598 GB, free: 24.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.5107, allocations: 122.4 kB / 0.5981 GB, free: 24.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/0.5114, allocations: 0.8643 MB / 0.5989 GB, free: 23.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.5115, allocations: 37.73 kB / 0.5989 GB, free: 23.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.5115, allocations: 0 / 0.5989 GB, free: 23.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007299/0.5122, allocations: 359.8 kB / 0.5993 GB, free: 23.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.5123, allocations: 60.7 kB / 0.5993 GB, free: 23.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/0.5129, allocations: 476.7 kB / 0.5998 GB, free: 23.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.513, allocations: 35.05 kB / 0.5998 GB, free: 23.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.5132, allocations: 259.5 kB / 0.6001 GB, free: 23.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.5133, allocations: 91.06 kB / 0.6002 GB, free: 23.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.5133, allocations: 34.75 kB / 0.6002 GB, free: 23.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5135, allocations: 358.5 kB / 0.6005 GB, free: 22.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5137, allocations: 98.66 kB / 0.6006 GB, free: 22.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.5139, allocations: 169.4 kB / 0.6008 GB, free: 22.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.5143, allocations: 277.1 kB / 0.6011 GB, free: 22.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5143, allocations: 1.281 kB / 0.6011 GB, free: 22.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005825/0.5149, allocations: 361.8 kB / 0.6014 GB, free: 22.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5149, allocations: 10.19 kB / 0.6014 GB, free: 22.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5149, allocations: 2.031 kB / 0.6014 GB, free: 22.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.515, allocations: 7.5 kB / 0.6014 GB, free: 22.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.5152, allocations: 78.42 kB / 0.6015 GB, free: 22.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.5153, allocations: 4.125 kB / 0.6015 GB, free: 22.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.5156, allocations: 47.78 kB / 0.6016 GB, free: 22.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.5157, allocations: 17.27 kB / 0.6016 GB, free: 22.54 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.5159, allocations: 174.5 kB / 0.6017 GB, free: 22.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/0.516, allocations: 61.08 kB / 0.6018 GB, free: 22.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008747/0.5169, allocations: 469.6 kB / 0.6022 GB, free: 22.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.5169, allocations: 4.266 kB / 0.6022 GB, free: 22.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5169, allocations: 4.547 kB / 0.6023 GB, free: 22.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005691/0.5175, allocations: 0.5686 MB / 0.6028 GB, free: 21.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.5194, allocations: 1.168 MB / 0.6039 GB, free: 21.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5194, allocations: 1.188 kB / 0.6039 GB, free: 21.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.5197, allocations: 55.08 kB / 0.604 GB, free: 21.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5197, allocations: 7.094 kB / 0.604 GB, free: 21.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.5197, allocations: 9.312 kB / 0.604 GB, free: 21.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5197, allocations: 4.266 kB / 0.604 GB, free: 21.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5197, allocations: 4.094 kB / 0.604 GB, free: 21.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.5205, allocations: 0.666 MB / 0.6047 GB, free: 20.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.5207, allocations: 177 kB / 0.6048 GB, free: 20.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.5208, allocations: 8.844 kB / 0.6049 GB, free: 20.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.5211, allocations: 21.06 kB / 0.6049 GB, free: 20.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.5212, allocations: 30.2 kB / 0.6049 GB, free: 20.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.5212, allocations: 18.3 kB / 0.6049 GB, free: 20.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004241/0.5217, allocations: 339.8 kB / 0.6052 GB, free: 20.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5217, allocations: 0 / 0.6052 GB, free: 20.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007491/0.5224, allocations: 192.3 kB / 0.6054 GB, free: 20.57 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 (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.0006397/0.5231, allocations: 303.4 kB / 0.6057 GB, free: 20.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004899/0.5236, allocations: 290.4 kB / 0.606 GB, free: 20.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5236, allocations: 1.219 kB / 0.606 GB, free: 20.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.5238, allocations: 160.5 kB / 0.6061 GB, free: 20.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.5256, allocations: 324.3 kB / 0.6065 GB, free: 20.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.5273, allocations: 1.316 MB / 0.6077 GB, free: 19.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.5278, allocations: 0.8635 MB / 0.6086 GB, free: 18.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.5282, allocations: 119.1 kB / 0.6087 GB, free: 18.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.5284, allocations: 55.98 kB / 0.6088 GB, free: 18.58 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5284, allocations: 0 / 0.6088 GB, free: 18.58 MB / 462.1 MB Notification: Performance of Templates: time 0.02179/0.5502, allocations: 11.49 MB / 0.62 GB, free: 14.1 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)