Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.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.001496/0.001496, allocations: 110.1 kB / 16.37 MB, free: 5.539 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.001709/0.001709, allocations: 197.5 kB / 17.31 MB, free: 5.18 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.47/2.47, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 69.67 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2796, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02234/0.302, allocations: 23.25 MB / 1.049 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006952/0.309, allocations: 5.085 MB / 1.054 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000676/0.3097, allocations: 27.81 kB / 1.054 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.3104, allocations: 278.1 kB / 1.055 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.3123, allocations: 0.7979 MB / 1.055 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3139, allocations: 0.7504 MB / 1.056 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.3155, allocations: 1.617 MB / 1.058 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005847/0.3161, allocations: 485.5 kB / 1.058 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.3173, allocations: 0.6169 MB / 1.059 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.3178, allocations: 450 kB / 1.059 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.3178, allocations: 48 kB / 1.059 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.3188, allocations: 487.1 kB / 1.06 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.319, allocations: 147.5 kB / 1.06 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.3192, allocations: 310.5 kB / 1.06 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3204, allocations: 0.9308 MB / 1.061 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3204, allocations: 0 / 1.061 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3204, allocations: 0 / 1.061 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3204, allocations: 0 / 1.061 GB, free: 14.75 MB / 0.8419 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.001242/0.3216, allocations: 0.8804 MB / 1.062 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3217, allocations: 12.03 kB / 1.062 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3219, allocations: 68.19 kB / 1.062 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.3229, allocations: 0.5766 MB / 1.063 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3229, allocations: 32.94 kB / 1.063 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.323, allocations: 40 kB / 1.063 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.3236, allocations: 440.7 kB / 1.063 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3236, allocations: 0 / 1.063 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.3237, allocations: 16 kB / 1.063 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.3237, allocations: 12 kB / 1.063 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.3242, allocations: 307.8 kB / 1.063 GB, free: 12.27 MB / 0.8419 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.002473/0.3267, allocations: 1.907 MB / 1.065 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.3272, allocations: 258.8 kB / 1.066 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.3273, allocations: 132.7 kB / 1.066 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.3281, allocations: 0.8428 MB / 1.066 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3281, allocations: 38.56 kB / 1.067 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.3281, allocations: 0 / 1.067 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.0006401/0.3288, allocations: 370.8 kB / 1.067 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.3288, allocations: 63.34 kB / 1.067 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/0.3293, allocations: 474 kB / 1.067 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.3294, allocations: 33.7 kB / 1.067 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.3296, allocations: 256 kB / 1.068 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.3296, allocations: 102.5 kB / 1.068 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3298, allocations: 73.92 kB / 1.068 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3299, allocations: 358.8 kB / 1.068 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.33, allocations: 96.61 kB / 1.068 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.3303, allocations: 172 kB / 1.068 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.3307, allocations: 287.9 kB / 1.069 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3307, allocations: 0 / 1.069 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005349/0.3312, allocations: 365 kB / 1.069 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3312, allocations: 8.031 kB / 1.069 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3313, allocations: 4 kB / 1.069 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3313, allocations: 4 kB / 1.069 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.3315, allocations: 79.83 kB / 1.069 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3316, allocations: 4 kB / 1.069 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.3318, allocations: 31.59 kB / 1.069 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.3319, allocations: 16 kB / 1.069 GB, free: 5.922 MB / 0.8419 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.0001777/0.332, allocations: 181.7 kB / 1.069 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.3321, allocations: 51.44 kB / 1.069 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007398/0.3329, allocations: 472.9 kB / 1.07 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3329, allocations: 7.938 kB / 1.07 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3329, allocations: 4 kB / 1.07 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005215/0.3334, allocations: 0.5654 MB / 1.07 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.3351, allocations: 1.157 MB / 1.072 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.3351, allocations: 0 / 1.072 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.3353, allocations: 51.92 kB / 1.072 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.3354, allocations: 4 kB / 1.072 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.3354, allocations: 11.98 kB / 1.072 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3354, allocations: 4 kB / 1.072 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3354, allocations: 0 / 1.072 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.3362, allocations: 0.6695 MB / 1.072 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.3364, allocations: 168.4 kB / 1.072 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.3365, allocations: 8 kB / 1.072 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.3368, allocations: 23.92 kB / 1.072 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3368, allocations: 23.91 kB / 1.073 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3369, allocations: 23.92 kB / 1.073 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003643/0.3372, allocations: 342.9 kB / 1.073 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.383e-06/0.3372, allocations: 0 / 1.073 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005783/0.3378, allocations: 199.7 kB / 1.073 GB, free: 1.75 MB / 0.8419 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.0005634/0.3384, allocations: 296.2 kB / 1.073 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3389, allocations: 294.8 kB / 1.074 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3389, allocations: 448 / 1.074 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.3391, allocations: 167.8 kB / 1.074 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.3405, allocations: 338.7 kB / 1.074 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.432/0.7725, allocations: 1.047 MB / 1.075 GB, free: 55.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.7729, allocations: 0.8634 MB / 1.076 GB, free: 55.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004901/0.7734, allocations: 117.2 kB / 1.076 GB, free: 55.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.7735, allocations: 53.7 kB / 1.076 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of SimCode: time 6.72e-07/0.7735, allocations: 0 / 1.076 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.02422/0.7978, allocations: 12.15 MB / 1.088 GB, free: 54.36 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)