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.001377/0.001377, allocations: 103.8 kB / 15.98 MB, free: 6.352 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.00137/0.001371, allocations: 196.9 kB / 16.91 MB, free: 6.195 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7663/0.7663, allocations: 122.9 MB / 413.6 MB, free: 0 / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 63.91 kB / 0.4906 GB, free: 7.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3775, allocations: 77.92 MB / 0.5667 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1824/0.5599, allocations: 165.1 MB / 0.7279 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.5625, allocations: 1.538 MB / 0.7294 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.5628, allocations: 15.88 kB / 0.7294 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.5633, allocations: 119.2 kB / 0.7295 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.5648, allocations: 0.6614 MB / 0.7302 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.5661, allocations: 0.5549 MB / 0.7307 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006696/0.5667, allocations: 0.709 MB / 0.7314 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.5671, allocations: 224.9 kB / 0.7316 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.5676, allocations: 346.7 kB / 0.732 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.5679, allocations: 227 kB / 0.7322 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.5679, allocations: 24 kB / 0.7322 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.5692, allocations: 0.8999 MB / 0.7331 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.5693, allocations: 103.8 kB / 0.7332 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.5695, allocations: 167.1 kB / 0.7333 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.5705, allocations: 0.7752 MB / 0.7341 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5705, allocations: 0 / 0.7341 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5705, allocations: 0 / 0.7341 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5705, allocations: 4 kB / 0.7341 GB, free: 15.03 MB / 0.5762 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.0009418/0.5715, allocations: 0.6466 MB / 0.7347 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5715, allocations: 8.625 kB / 0.7347 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.5727, allocations: 151.5 kB / 0.7349 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.5731, allocations: 313.7 kB / 0.7352 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.5732, allocations: 16.44 kB / 0.7352 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.5732, allocations: 24 kB / 0.7352 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.5737, allocations: 287.4 kB / 0.7355 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5737, allocations: 0 / 0.7355 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.5738, allocations: 8 kB / 0.7355 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5738, allocations: 8 kB / 0.7355 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.5742, allocations: 199.8 kB / 0.7357 GB, free: 13.28 MB / 0.5762 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.001347/0.5756, allocations: 1.205 MB / 0.7369 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.5758, allocations: 142.4 kB / 0.737 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.576, allocations: 92.81 kB / 0.7371 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006534/0.5767, allocations: 299.2 kB / 0.7374 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.5767, allocations: 42.5 kB / 0.7374 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.5767, allocations: 0 / 0.7374 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007313/0.5775, allocations: 281.3 kB / 0.7377 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5775, allocations: 51.41 kB / 0.7377 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.5778, allocations: 316.5 kB / 0.738 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.5778, allocations: 25.7 kB / 0.7381 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.578, allocations: 188.1 kB / 0.7383 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.578, allocations: 55.2 kB / 0.7383 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.5781, allocations: 41.7 kB / 0.7383 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5782, allocations: 338.8 kB / 0.7387 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.5784, allocations: 67.95 kB / 0.7387 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.5786, allocations: 121 kB / 0.7388 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.5789, allocations: 185 kB / 0.739 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5789, allocations: 4 kB / 0.739 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000439/0.5794, allocations: 235.8 kB / 0.7393 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5794, allocations: 4 kB / 0.7393 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5794, allocations: 4 kB / 0.7393 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5794, allocations: 3.938 kB / 0.7393 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.5797, allocations: 43.91 kB / 0.7393 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5797, allocations: 4 kB / 0.7393 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.5799, allocations: 39.77 kB / 0.7393 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.5799, allocations: 12 kB / 0.7394 GB, free: 9.262 MB / 0.5762 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.0001494/0.5801, allocations: 153.7 kB / 0.7395 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.5801, allocations: 27.62 kB / 0.7395 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.5806, allocations: 224.3 kB / 0.7397 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5806, allocations: 4.141 kB / 0.7398 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5807, allocations: 0 / 0.7398 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.5807, allocations: 7.969 kB / 0.7398 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5817, allocations: 0.6834 MB / 0.7404 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5817, allocations: 4 kB / 0.7404 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.5819, allocations: 31.92 kB / 0.7405 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-06/0.5819, allocations: 7.938 kB / 0.7405 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.5819, allocations: 4 kB / 0.7405 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5819, allocations: 7.938 kB / 0.7405 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5819, allocations: 4.219 kB / 0.7405 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.5826, allocations: 440.2 kB / 0.7409 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5828, allocations: 124.8 kB / 0.741 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.5828, allocations: 7.938 kB / 0.741 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.583, allocations: 15.98 kB / 0.741 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.5831, allocations: 16.05 kB / 0.7411 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.5831, allocations: 4 kB / 0.7411 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002241/0.5834, allocations: 227 kB / 0.7413 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5834, allocations: 0 / 0.7413 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004324/0.5838, allocations: 79.91 kB / 0.7414 GB, free: 7.07 MB / 0.5762 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.0004015/0.5842, allocations: 170.2 kB / 0.7415 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.5847, allocations: 171.8 kB / 0.7417 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5847, allocations: 4 kB / 0.7417 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.5849, allocations: 88.44 kB / 0.7418 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.5857, allocations: 170 kB / 0.7419 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.5868, allocations: 0.6875 MB / 0.7426 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.5872, allocations: 0.7795 MB / 0.7434 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.5875, allocations: 66.92 kB / 0.7434 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.5875, allocations: 23.44 kB / 0.7435 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.5876, allocations: 0 / 0.7435 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of Templates: time 0.2569/0.8444, allocations: 5.659 MB / 0.749 GB, free: 171.9 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)