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.001187/0.001187, allocations: 111.1 kB / 17.04 MB, free: 5.355 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.001231/0.001231, allocations: 199.2 kB / 17.98 MB, free: 4.895 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.324/1.324, allocations: 222.9 MB / 241.7 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.7356/0.7356, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 68.12 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3395, allocations: 76.15 MB / 0.5576 GB, free: 36.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.01991/0.3595, allocations: 23.19 MB / 0.5802 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006806/0.3663, allocations: 5.09 MB / 0.5852 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.3674, allocations: 29.16 kB / 0.5852 GB, free: 16.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.3682, allocations: 281.8 kB / 0.5855 GB, free: 16.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.3704, allocations: 0.7883 MB / 0.5863 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.3723, allocations: 0.766 MB / 0.587 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.3742, allocations: 1.611 MB / 0.5886 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007002/0.375, allocations: 491 kB / 0.589 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.3764, allocations: 0.6205 MB / 0.5897 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006187/0.377, allocations: 447.7 kB / 0.5901 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-05/0.3771, allocations: 45.88 kB / 0.5901 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.3784, allocations: 492.7 kB / 0.5906 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.3785, allocations: 141 kB / 0.5907 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.3789, allocations: 307.9 kB / 0.591 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.3804, allocations: 0.9286 MB / 0.5919 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3804, allocations: 0 / 0.5919 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3804, allocations: 0 / 0.5919 GB, free: 13.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3804, allocations: 0 / 0.5919 GB, free: 13.44 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.001211/0.3816, allocations: 0.8967 MB / 0.5928 GB, free: 12.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3817, allocations: 9.844 kB / 0.5928 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.3819, allocations: 66.56 kB / 0.5929 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008763/0.3828, allocations: 0.5776 MB / 0.5934 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3828, allocations: 33.56 kB / 0.5935 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.3829, allocations: 37.94 kB / 0.5935 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.3835, allocations: 436 kB / 0.5939 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3836, allocations: 0 / 0.5939 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.3836, allocations: 19.97 kB / 0.5939 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.3836, allocations: 13.91 kB / 0.594 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.3841, allocations: 305.2 kB / 0.5942 GB, free: 11.7 MB / 446.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.00227/0.3864, allocations: 1.911 MB / 0.5961 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.3869, allocations: 263.2 kB / 0.5964 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3871, allocations: 121.8 kB / 0.5965 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.3877, allocations: 0.8497 MB / 0.5973 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.3877, allocations: 43.94 kB / 0.5974 GB, free: 8.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.3877, allocations: 0 / 0.5974 GB, free: 8.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006478/0.3884, allocations: 375.5 kB / 0.5977 GB, free: 8.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3884, allocations: 58.88 kB / 0.5978 GB, free: 8.555 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.3889, allocations: 475.5 kB / 0.5982 GB, free: 8.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3889, allocations: 32.64 kB / 0.5983 GB, free: 8.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3891, allocations: 254.8 kB / 0.5985 GB, free: 8.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.3891, allocations: 90.31 kB / 0.5986 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3892, allocations: 79.58 kB / 0.5987 GB, free: 7.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.3893, allocations: 357.8 kB / 0.599 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3895, allocations: 94.98 kB / 0.5991 GB, free: 7.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3897, allocations: 166.1 kB / 0.5992 GB, free: 7.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.3901, allocations: 280.2 kB / 0.5995 GB, free: 7.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3901, allocations: 0 / 0.5995 GB, free: 7.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005324/0.3906, allocations: 371.3 kB / 0.5999 GB, free: 6.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3907, allocations: 5.75 kB / 0.5999 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3907, allocations: 1.281 kB / 0.5999 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3907, allocations: 3.594 kB / 0.5999 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.391, allocations: 72.88 kB / 0.5999 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.391, allocations: 3.75 kB / 0.5999 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.3913, allocations: 54.17 kB / 0.6 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.3913, allocations: 10.75 kB / 0.6 GB, free: 6.922 MB / 446.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.000162/0.3915, allocations: 186.8 kB / 0.6002 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.3916, allocations: 48.84 kB / 0.6002 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007209/0.3923, allocations: 473.1 kB / 0.6007 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3923, allocations: 7.469 kB / 0.6007 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3923, allocations: 1.188 kB / 0.6007 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004477/0.3928, allocations: 0.5674 MB / 0.6013 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.3943, allocations: 1.154 MB / 0.6024 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.3944, allocations: 2.219 kB / 0.6024 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.3946, allocations: 51.25 kB / 0.6024 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3946, allocations: 2.156 kB / 0.6024 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.3946, allocations: 13.61 kB / 0.6024 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3947, allocations: 10.34 kB / 0.6025 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3947, allocations: 6.25 kB / 0.6025 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.3954, allocations: 0.6701 MB / 0.6031 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.3956, allocations: 173.8 kB / 0.6033 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.3957, allocations: 7.562 kB / 0.6033 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.396, allocations: 12.52 kB / 0.6033 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.396, allocations: 27.72 kB / 0.6033 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.3961, allocations: 19.06 kB / 0.6033 GB, free: 4.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003544/0.3964, allocations: 347.9 kB / 0.6037 GB, free: 4.176 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3964, allocations: 5.25 kB / 0.6037 GB, free: 4.172 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007132/0.3972, allocations: 193.8 kB / 0.6039 GB, free: 4.129 MB / 446.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.0005659/0.3977, allocations: 302.3 kB / 0.6042 GB, free: 3.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000458/0.3982, allocations: 287.4 kB / 0.6044 GB, free: 3.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3982, allocations: 3.938 kB / 0.6044 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.3984, allocations: 166 kB / 0.6046 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.3998, allocations: 337.1 kB / 0.6049 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.401, allocations: 1.056 MB / 0.6059 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.4013, allocations: 0.8627 MB / 0.6068 GB, free: 1.453 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003086/0.4016, allocations: 116.7 kB / 0.6069 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.4017, allocations: 59.41 kB / 0.607 GB, free: 1.277 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4017, allocations: 0 / 0.607 GB, free: 1.277 MB / 446.1 MB Notification: Performance of Templates: time 0.01899/0.4207, allocations: 12.14 MB / 0.6188 GB, free: 5.328 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)