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.0008567/0.0008565, allocations: 89.23 kB / 16.66 MB, free: 5.859 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.001042/0.001042, allocations: 176.5 kB / 17.57 MB, free: 5.535 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.453/1.453, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7761/0.7761, allocations: 115.5 MB / 408.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003867, allocations: 11.98 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4435, allocations: 77.52 MB / 0.5606 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.1811/0.6246, allocations: 163 MB / 0.7198 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.6279, allocations: 1.561 MB / 0.7213 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.6285, allocations: 7.938 kB / 0.7213 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.6291, allocations: 115.2 kB / 0.7214 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.6311, allocations: 0.673 MB / 0.7221 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.633, allocations: 0.5443 MB / 0.7226 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.6344, allocations: 0.9945 MB / 0.7236 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/0.6349, allocations: 193.4 kB / 0.7237 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009117/0.6358, allocations: 318.7 kB / 0.724 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.6363, allocations: 223 kB / 0.7243 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.6364, allocations: 12 kB / 0.7243 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.6384, allocations: 1.021 MB / 0.7253 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.6386, allocations: 95.7 kB / 0.7254 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.639, allocations: 184.8 kB / 0.7255 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.64, allocations: 0.5105 MB / 0.726 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.64, allocations: 4 kB / 0.726 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6401, allocations: 0 / 0.726 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.6401, allocations: 0 / 0.726 GB, free: 9.578 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00118/0.6413, allocations: 0.6078 MB / 0.7266 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.6413, allocations: 11.97 kB / 0.7266 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.6426, allocations: 151.5 kB / 0.7268 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.6432, allocations: 322.5 kB / 0.7271 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.6432, allocations: 16.56 kB / 0.7271 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.6433, allocations: 23.94 kB / 0.7271 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.6439, allocations: 289.9 kB / 0.7274 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.6439, allocations: 0 / 0.7274 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.6439, allocations: 11.94 kB / 0.7274 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6439, allocations: 4 kB / 0.7274 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.6444, allocations: 216.9 kB / 0.7276 GB, free: 7.836 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.00166/0.6461, allocations: 1.23 MB / 0.7288 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.6464, allocations: 170.3 kB / 0.729 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.6466, allocations: 100.8 kB / 0.7291 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/0.6473, allocations: 319.2 kB / 0.7294 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.6473, allocations: 30.56 kB / 0.7294 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.6473, allocations: 0 / 0.7294 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.000899/0.6482, allocations: 315.4 kB / 0.7297 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.6483, allocations: 51.41 kB / 0.7298 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.6487, allocations: 324.5 kB / 0.7301 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.6487, allocations: 25.7 kB / 0.7301 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.6488, allocations: 188.1 kB / 0.7303 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.6489, allocations: 51.2 kB / 0.7303 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.649, allocations: 29.7 kB / 0.7304 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6491, allocations: 342.8 kB / 0.7307 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.6493, allocations: 79.94 kB / 0.7308 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.6496, allocations: 126.3 kB / 0.7309 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.65, allocations: 209 kB / 0.7311 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.65, allocations: 3.938 kB / 0.7311 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005419/0.6505, allocations: 269.1 kB / 0.7314 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6506, allocations: 4 kB / 0.7314 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6506, allocations: 4 kB / 0.7314 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6506, allocations: 0 / 0.7314 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.6508, allocations: 60 kB / 0.7314 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.6509, allocations: 0 / 0.7314 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.6511, allocations: 35.73 kB / 0.7314 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.6512, allocations: 8 kB / 0.7315 GB, free: 3.645 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 (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.0001675/0.6513, allocations: 157.6 kB / 0.7316 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.6514, allocations: 27.62 kB / 0.7316 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.6519, allocations: 248.6 kB / 0.7319 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.652, allocations: 4 kB / 0.7319 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.652, allocations: 0 / 0.7319 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.652, allocations: 0 / 0.7319 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.6531, allocations: 0.7108 MB / 0.7326 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6531, allocations: 4 kB / 0.7326 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.6533, allocations: 40.02 kB / 0.7326 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.6534, allocations: 11.92 kB / 0.7326 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.6534, allocations: 4 kB / 0.7326 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.6534, allocations: 7.875 kB / 0.7326 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.6534, allocations: 4.219 kB / 0.7326 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.6541, allocations: 470.8 kB / 0.7331 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.6542, allocations: 116.7 kB / 0.7332 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.6543, allocations: 7.984 kB / 0.7332 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.6545, allocations: 27.98 kB / 0.7332 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.6546, allocations: 15.92 kB / 0.7332 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.6546, allocations: 12 kB / 0.7333 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002325/0.6548, allocations: 231 kB / 0.7335 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6548, allocations: 0 / 0.7335 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004214/0.6553, allocations: 87.84 kB / 0.7336 GB, free: 1.344 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 (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.0004319/0.6557, allocations: 171.5 kB / 0.7337 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.6562, allocations: 187.8 kB / 0.7339 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6562, allocations: 0 / 0.7339 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.6564, allocations: 100.4 kB / 0.734 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.6575, allocations: 164.2 kB / 0.7342 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.6587, allocations: 0.7975 MB / 0.7349 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.6591, allocations: 0.7758 MB / 0.7357 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.6591, allocations: 31.44 kB / 0.7357 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.6592, allocations: 3.938 kB / 0.7357 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.008822/0.668, allocations: 4.904 MB / 0.7405 GB, free: 10.2 MB / 0.5762 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)