Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001534, allocations: 107 kB / 16.52 MB, free: 6.656 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.001327/0.001327, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7524/0.7524, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 67.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4412, allocations: 76.17 MB / 0.5564 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1844/0.6256, allocations: 165.1 MB / 0.7176 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.6286, allocations: 1.561 MB / 0.7191 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/0.6291, allocations: 11.94 kB / 0.7191 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.6298, allocations: 119.2 kB / 0.7193 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.6318, allocations: 0.6692 MB / 0.7199 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.6335, allocations: 0.5443 MB / 0.7204 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.6347, allocations: 0.9742 MB / 0.7214 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.6352, allocations: 193.4 kB / 0.7216 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007883/0.636, allocations: 306.8 kB / 0.7219 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.6365, allocations: 231 kB / 0.7221 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.6365, allocations: 16 kB / 0.7221 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.6384, allocations: 1.013 MB / 0.7231 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.6385, allocations: 95.7 kB / 0.7232 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.6388, allocations: 155.2 kB / 0.7233 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009336/0.6397, allocations: 0.5067 MB / 0.7238 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6398, allocations: 0 / 0.7238 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6398, allocations: 0 / 0.7238 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.6398, allocations: 0 / 0.7238 GB, free: 8.703 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001193/0.641, allocations: 0.6466 MB / 0.7245 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.641, allocations: 11.97 kB / 0.7245 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.6423, allocations: 155.4 kB / 0.7246 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.6428, allocations: 305.7 kB / 0.7249 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.6428, allocations: 24.44 kB / 0.7249 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.6429, allocations: 24 kB / 0.725 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.6434, allocations: 276.5 kB / 0.7252 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6434, allocations: 7.938 kB / 0.7252 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.6434, allocations: 8 kB / 0.7252 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.6434, allocations: 8 kB / 0.7252 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.6439, allocations: 195.8 kB / 0.7254 GB, free: 6.949 MB / 0.5606 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.001466/0.6454, allocations: 1.217 MB / 0.7266 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.6456, allocations: 138.4 kB / 0.7268 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.6458, allocations: 84.81 kB / 0.7268 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/0.6465, allocations: 307.2 kB / 0.7271 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.6466, allocations: 38.5 kB / 0.7272 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.6466, allocations: 0 / 0.7272 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007489/0.6473, allocations: 273.4 kB / 0.7274 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6474, allocations: 63.41 kB / 0.7275 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.6477, allocations: 312.5 kB / 0.7278 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.6477, allocations: 25.7 kB / 0.7278 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.6479, allocations: 180.2 kB / 0.728 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.6479, allocations: 63.12 kB / 0.728 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.648, allocations: 45.61 kB / 0.7281 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6481, allocations: 338.8 kB / 0.7284 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.6483, allocations: 71.95 kB / 0.7285 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.6485, allocations: 122.9 kB / 0.7286 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.6489, allocations: 185 kB / 0.7288 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6489, allocations: 0 / 0.7288 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000484/0.6494, allocations: 243.7 kB / 0.729 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6494, allocations: 4 kB / 0.729 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6494, allocations: 4 kB / 0.729 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6494, allocations: 4.094 kB / 0.729 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.6496, allocations: 43.92 kB / 0.7291 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.6496, allocations: 7.984 kB / 0.7291 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.6499, allocations: 31.67 kB / 0.7291 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.6499, allocations: 12 kB / 0.7291 GB, free: 2.918 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.000139/0.6501, allocations: 153.7 kB / 0.7293 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.6501, allocations: 31.56 kB / 0.7293 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.6506, allocations: 223.2 kB / 0.7295 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6506, allocations: 4 kB / 0.7295 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6506, allocations: 0 / 0.7295 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6506, allocations: 3.984 kB / 0.7295 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.6517, allocations: 0.6796 MB / 0.7302 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6517, allocations: 4 kB / 0.7302 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.6519, allocations: 27.98 kB / 0.7302 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.6519, allocations: 16.09 kB / 0.7302 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.652, allocations: 4 kB / 0.7302 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.652, allocations: 7.938 kB / 0.7302 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.652, allocations: 4 kB / 0.7302 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.6526, allocations: 428.9 kB / 0.7306 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.6527, allocations: 128.7 kB / 0.7308 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.6528, allocations: 7.938 kB / 0.7308 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.653, allocations: 20.05 kB / 0.7308 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.653, allocations: 11.98 kB / 0.7308 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.6531, allocations: 8 kB / 0.7308 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003471/0.6534, allocations: 227 kB / 0.731 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6534, allocations: 0 / 0.731 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006819/0.6541, allocations: 71.91 kB / 0.7311 GB, free: 0.7383 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0005176/0.6547, allocations: 176.2 kB / 0.7313 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005689/0.6552, allocations: 170.2 kB / 0.7314 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6553, allocations: 0 / 0.7314 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.6555, allocations: 92.09 kB / 0.7315 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.6564, allocations: 155.7 kB / 0.7317 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.6574, allocations: 0.734 MB / 0.7324 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.6578, allocations: 0.7758 MB / 0.7331 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.658, allocations: 23.44 kB / 0.7332 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.658, allocations: 4 kB / 0.7332 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.008318/0.6663, allocations: 4.798 MB / 0.7378 GB, free: 9.801 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)