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.0012/0.0012, allocations: 113.5 kB / 17.04 MB, free: 6.078 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.001228/0.001228, allocations: 196 kB / 17.98 MB, free: 5.156 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.261/1.261, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6793/0.6793, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001138, allocations: 59.84 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3092, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.01855/0.3278, allocations: 23.19 MB / 0.5802 GB, free: 20.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006523/0.3344, allocations: 5.091 MB / 0.5852 GB, free: 16.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.3351, allocations: 27.78 kB / 0.5852 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.3358, allocations: 277.6 kB / 0.5855 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.3376, allocations: 0.7901 MB / 0.5863 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.3392, allocations: 0.7622 MB / 0.587 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.3408, allocations: 1.61 MB / 0.5886 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005901/0.3414, allocations: 494.8 kB / 0.589 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.3425, allocations: 0.6108 MB / 0.5896 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.343, allocations: 458.9 kB / 0.5901 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.3431, allocations: 45.75 kB / 0.5901 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009104/0.344, allocations: 488.3 kB / 0.5906 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3442, allocations: 142.7 kB / 0.5907 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.3444, allocations: 307.1 kB / 0.591 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3455, allocations: 0.9291 MB / 0.5919 GB, free: 13.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3455, allocations: 1.125 kB / 0.5919 GB, free: 13.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3455, allocations: 0 / 0.5919 GB, free: 13.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3456, allocations: 0 / 0.5919 GB, free: 13.24 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.001076/0.3466, allocations: 0.8939 MB / 0.5928 GB, free: 12.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3467, allocations: 9.781 kB / 0.5928 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3469, allocations: 70.84 kB / 0.5929 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/0.3477, allocations: 0.5811 MB / 0.5934 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3477, allocations: 33.59 kB / 0.5935 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.3478, allocations: 41.62 kB / 0.5935 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.3483, allocations: 432.3 kB / 0.5939 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3484, allocations: 3.938 kB / 0.5939 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.3484, allocations: 19.78 kB / 0.5939 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.3484, allocations: 10.94 kB / 0.594 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.3489, allocations: 308 kB / 0.5943 GB, free: 11.53 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.001973/0.3508, allocations: 1.904 MB / 0.5961 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.3513, allocations: 268.6 kB / 0.5964 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3514, allocations: 123.2 kB / 0.5965 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/0.352, allocations: 0.849 MB / 0.5973 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.352, allocations: 35.56 kB / 0.5973 GB, free: 8.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.352, allocations: 4.953 kB / 0.5974 GB, free: 8.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006133/0.3526, allocations: 375.5 kB / 0.5977 GB, free: 8.461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.3527, allocations: 59.03 kB / 0.5978 GB, free: 8.395 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.3531, allocations: 475.8 kB / 0.5982 GB, free: 8.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3532, allocations: 30.98 kB / 0.5983 GB, free: 8.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3533, allocations: 255.5 kB / 0.5985 GB, free: 7.844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.3534, allocations: 98.17 kB / 0.5986 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.3535, allocations: 75.86 kB / 0.5987 GB, free: 7.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.3536, allocations: 357.1 kB / 0.599 GB, free: 7.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3537, allocations: 95.64 kB / 0.5991 GB, free: 7.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.3539, allocations: 165.8 kB / 0.5992 GB, free: 7.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.3542, allocations: 279.7 kB / 0.5995 GB, free: 7.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3542, allocations: 5.156 kB / 0.5995 GB, free: 7.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004966/0.3547, allocations: 366.5 kB / 0.5999 GB, free: 6.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3548, allocations: 6.406 kB / 0.5999 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3548, allocations: 1.031 kB / 0.5999 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3548, allocations: 4.031 kB / 0.5999 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3551, allocations: 80.98 kB / 0.6 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3551, allocations: 3.219 kB / 0.6 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.3553, allocations: 42.22 kB / 0.6 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.3554, allocations: 19.81 kB / 0.6 GB, free: 6.754 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.0001401/0.3555, allocations: 177.5 kB / 0.6002 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.3556, allocations: 52.31 kB / 0.6002 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/0.3562, allocations: 477.6 kB / 0.6007 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.3563, allocations: 8.094 kB / 0.6007 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3563, allocations: 0 / 0.6007 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004251/0.3567, allocations: 0.5636 MB / 0.6013 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.3581, allocations: 1.158 MB / 0.6024 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3582, allocations: 6 kB / 0.6024 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.3584, allocations: 50.73 kB / 0.6024 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3584, allocations: 3.406 kB / 0.6024 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3584, allocations: 12.55 kB / 0.6025 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3584, allocations: 7.469 kB / 0.6025 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3584, allocations: 2.062 kB / 0.6025 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.3591, allocations: 0.6699 MB / 0.6031 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3593, allocations: 169.7 kB / 0.6033 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.3594, allocations: 7.969 kB / 0.6033 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.3596, allocations: 17.05 kB / 0.6033 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.3597, allocations: 18.88 kB / 0.6033 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.3597, allocations: 22.95 kB / 0.6033 GB, free: 4.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000315/0.36, allocations: 344.2 kB / 0.6037 GB, free: 4.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.36, allocations: 4 kB / 0.6037 GB, free: 4.016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005934/0.3606, allocations: 198.3 kB / 0.6039 GB, free: 3.969 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.0005063/0.3611, allocations: 300.2 kB / 0.6042 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.3616, allocations: 291.1 kB / 0.6044 GB, free: 3.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3616, allocations: 1 kB / 0.6044 GB, free: 3.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.3618, allocations: 161 kB / 0.6046 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.363, allocations: 341 kB / 0.6049 GB, free: 3.305 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.3642, allocations: 1.06 MB / 0.6059 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.3644, allocations: 0.8705 MB / 0.6068 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.3646, allocations: 116.7 kB / 0.6069 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.3647, allocations: 51.36 kB / 0.607 GB, free: 1.133 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3647, allocations: 0 / 0.607 GB, free: 1.133 MB / 446.1 MB Notification: Performance of Templates: time 0.018/0.3827, allocations: 12.13 MB / 0.6188 GB, free: 5.191 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)