Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.0008401, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001009, allocations: 184.3 kB / 16.92 MB, free: 6.754 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: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6749/0.6749, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 14 kB / 495.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1709, allocations: 77.53 MB / 0.56 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.481/0.652, allocations: 163 MB / 0.7191 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.6548, allocations: 1.562 MB / 0.7207 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.655, allocations: 7.938 kB / 0.7207 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.6555, allocations: 119.2 kB / 0.7208 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.6571, allocations: 0.677 MB / 0.7214 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.6586, allocations: 0.545 MB / 0.722 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009906/0.6596, allocations: 0.9828 MB / 0.7229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.66, allocations: 193.4 kB / 0.7231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006387/0.6606, allocations: 318.7 kB / 0.7234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.661, allocations: 235 kB / 0.7236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.661, allocations: 12 kB / 0.7237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.6627, allocations: 1.009 MB / 0.7246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.6628, allocations: 107.6 kB / 0.7247 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.6631, allocations: 180.9 kB / 0.7249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.6641, allocations: 0.7711 MB / 0.7257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6642, allocations: 4 kB / 0.7257 GB, free: 13.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6642, allocations: 0 / 0.7257 GB, free: 13.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.6642, allocations: 0 / 0.7257 GB, free: 13.08 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000999/0.6652, allocations: 0.6083 MB / 0.7263 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.6652, allocations: 12.03 kB / 0.7263 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.6664, allocations: 155.4 kB / 0.7264 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.6668, allocations: 310.6 kB / 0.7267 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.6669, allocations: 16.56 kB / 0.7267 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.6669, allocations: 27.94 kB / 0.7268 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.6675, allocations: 289.8 kB / 0.727 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6675, allocations: 0 / 0.727 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.6675, allocations: 12 kB / 0.7271 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.6676, allocations: 4 kB / 0.7271 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.668, allocations: 220.9 kB / 0.7273 GB, free: 11.34 MB / 0.545 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.001511/0.6696, allocations: 1.234 MB / 0.7285 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.6699, allocations: 154.4 kB / 0.7286 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.6701, allocations: 96.81 kB / 0.7287 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/0.6707, allocations: 319.2 kB / 0.729 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6708, allocations: 46.44 kB / 0.7291 GB, free: 9.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.6708, allocations: 0 / 0.7291 GB, free: 9.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0008278/0.6716, allocations: 311.1 kB / 0.7294 GB, free: 9.016 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.6717, allocations: 51.41 kB / 0.7294 GB, free: 8.953 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.672, allocations: 320.5 kB / 0.7297 GB, free: 8.633 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.6721, allocations: 29.7 kB / 0.7297 GB, free: 8.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.6722, allocations: 188 kB / 0.7299 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.6723, allocations: 59.19 kB / 0.73 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.6723, allocations: 21.72 kB / 0.73 GB, free: 8.324 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6725, allocations: 342.8 kB / 0.7303 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.6727, allocations: 75.95 kB / 0.7304 GB, free: 7.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.6729, allocations: 130.7 kB / 0.7305 GB, free: 7.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.6733, allocations: 209.6 kB / 0.7307 GB, free: 7.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6733, allocations: 4 kB / 0.7307 GB, free: 7.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005231/0.6738, allocations: 270.8 kB / 0.731 GB, free: 7.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6739, allocations: 4 kB / 0.731 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6739, allocations: 4.094 kB / 0.731 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6739, allocations: 4 kB / 0.731 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.6741, allocations: 47.91 kB / 0.731 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6741, allocations: 4 kB / 0.731 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.6744, allocations: 35.73 kB / 0.7311 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.6744, allocations: 8 kB / 0.7311 GB, free: 7.16 MB / 0.545 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 (24): * Single equations (assignments): 24 * 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.0001673/0.6746, allocations: 165.6 kB / 0.7312 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.6747, allocations: 27.62 kB / 0.7313 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/0.6752, allocations: 241.2 kB / 0.7315 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6752, allocations: 4 kB / 0.7315 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6752, allocations: 4 kB / 0.7315 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6752, allocations: 0 / 0.7315 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.6763, allocations: 0.7147 MB / 0.7322 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6763, allocations: 4 kB / 0.7322 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.6765, allocations: 43.84 kB / 0.7323 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.6766, allocations: 4.219 kB / 0.7323 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.6766, allocations: 16 kB / 0.7323 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.6766, allocations: 3.938 kB / 0.7323 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6766, allocations: 4 kB / 0.7323 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.6773, allocations: 468.9 kB / 0.7327 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6774, allocations: 120.7 kB / 0.7328 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.6775, allocations: 8 kB / 0.7328 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.6777, allocations: 19.92 kB / 0.7329 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.6778, allocations: 19.92 kB / 0.7329 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6778, allocations: 4 kB / 0.7329 GB, free: 5.168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002478/0.678, allocations: 235.1 kB / 0.7331 GB, free: 4.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.678, allocations: 0 / 0.7331 GB, free: 4.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003976/0.6784, allocations: 87.84 kB / 0.7332 GB, free: 4.855 MB / 0.545 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 (17): * Single equations (assignments): 17 * 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.0004115/0.6789, allocations: 160.2 kB / 0.7334 GB, free: 4.699 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.6794, allocations: 188 kB / 0.7335 GB, free: 4.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6794, allocations: 0 / 0.7335 GB, free: 4.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.6796, allocations: 100.5 kB / 0.7336 GB, free: 4.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.6807, allocations: 164.7 kB / 0.7338 GB, free: 4.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.6819, allocations: 0.7726 MB / 0.7345 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.6824, allocations: 0.7875 MB / 0.7353 GB, free: 2.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.6826, allocations: 62.92 kB / 0.7354 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.6827, allocations: 23.44 kB / 0.7354 GB, free: 2.535 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.6827, allocations: 0 / 0.7354 GB, free: 2.535 MB / 0.545 GB Notification: Performance of Templates: time 0.01168/0.6944, allocations: 5.509 MB / 0.7408 GB, free: 13.14 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)