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.007198/0.007198, allocations: 101.3 kB / 15.88 MB, free: 6.312 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.001894/0.001894, allocations: 194.8 kB / 16.79 MB, free: 6.242 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.459/1.459, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7891/0.7891, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 64.06 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.217, allocations: 77.93 MB / 0.5665 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5422/0.7593, allocations: 165.1 MB / 0.7278 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003032/0.7624, allocations: 1.575 MB / 0.7293 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004299/0.7628, allocations: 7.938 kB / 0.7293 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.7634, allocations: 115.2 kB / 0.7294 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.7655, allocations: 0.677 MB / 0.7301 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.7672, allocations: 0.5424 MB / 0.7306 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.7683, allocations: 0.9866 MB / 0.7316 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.7687, allocations: 197.4 kB / 0.7318 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.7694, allocations: 322.7 kB / 0.7321 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.7697, allocations: 235 kB / 0.7323 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.7697, allocations: 16 kB / 0.7323 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.7719, allocations: 1.021 MB / 0.7333 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.7721, allocations: 99.69 kB / 0.7334 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.7723, allocations: 167.1 kB / 0.7336 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.7736, allocations: 0.7673 MB / 0.7343 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7736, allocations: 7.938 kB / 0.7343 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.11e-07/0.7736, allocations: 0 / 0.7343 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7736, allocations: 0 / 0.7343 GB, free: 12.17 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.001094/0.7747, allocations: 0.6645 MB / 0.735 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.7748, allocations: 12.03 kB / 0.735 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.776, allocations: 159.4 kB / 0.7352 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.7765, allocations: 306.7 kB / 0.7354 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.7765, allocations: 20.56 kB / 0.7355 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.7766, allocations: 27.94 kB / 0.7355 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.7771, allocations: 281.9 kB / 0.7358 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7771, allocations: 0 / 0.7358 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.7772, allocations: 12 kB / 0.7358 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.7772, allocations: 11.94 kB / 0.7358 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.7776, allocations: 200.9 kB / 0.736 GB, free: 10.39 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.001498/0.7791, allocations: 1.219 MB / 0.7372 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.7795, allocations: 160.2 kB / 0.7373 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.7797, allocations: 96.73 kB / 0.7374 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.7804, allocations: 303.2 kB / 0.7377 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.7805, allocations: 34.56 kB / 0.7377 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.7805, allocations: 0 / 0.7377 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0008554/0.7813, allocations: 293.5 kB / 0.738 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.7814, allocations: 55.41 kB / 0.7381 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.7817, allocations: 324.5 kB / 0.7384 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.7818, allocations: 29.7 kB / 0.7384 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.7819, allocations: 180.2 kB / 0.7386 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.782, allocations: 59.11 kB / 0.7386 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.7821, allocations: 41.7 kB / 0.7387 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7822, allocations: 342.8 kB / 0.739 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.7824, allocations: 75.88 kB / 0.7391 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.7827, allocations: 123.3 kB / 0.7392 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.783, allocations: 202.4 kB / 0.7394 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.783, allocations: 0 / 0.7394 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004696/0.7835, allocations: 258.7 kB / 0.7396 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.7835, allocations: 8.094 kB / 0.7396 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7835, allocations: 4 kB / 0.7396 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.7836, allocations: 0 / 0.7396 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.7838, allocations: 51.84 kB / 0.7397 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7838, allocations: 4 kB / 0.7397 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.784, allocations: 39.61 kB / 0.7397 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.7841, allocations: 8 kB / 0.7397 GB, free: 6.273 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.0001805/0.7843, allocations: 161.7 kB / 0.7399 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.7843, allocations: 27.62 kB / 0.7399 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000536/0.7849, allocations: 234.6 kB / 0.7401 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.7849, allocations: 0 / 0.7401 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7849, allocations: 4 kB / 0.7401 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.7849, allocations: 0 / 0.7401 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.7861, allocations: 0.6991 MB / 0.7408 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.7861, allocations: 7.031 kB / 0.7408 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.7863, allocations: 43.91 kB / 0.7409 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7863, allocations: 0 / 0.7409 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.7863, allocations: 4 kB / 0.7409 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.7863, allocations: 7.938 kB / 0.7409 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7863, allocations: 0.7031 kB / 0.7409 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.787, allocations: 455.2 kB / 0.7413 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.7871, allocations: 120.8 kB / 0.7414 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.7872, allocations: 7.984 kB / 0.7414 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.7874, allocations: 23.98 kB / 0.7415 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.7875, allocations: 19.92 kB / 0.7415 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.7875, allocations: 4 kB / 0.7415 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002256/0.7877, allocations: 231 kB / 0.7417 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7877, allocations: 0 / 0.7417 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000412/0.7881, allocations: 87.84 kB / 0.7418 GB, free: 4.027 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.0004444/0.7886, allocations: 171.3 kB / 0.742 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.789, allocations: 175.9 kB / 0.7421 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7891, allocations: 0 / 0.7421 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.7893, allocations: 95.81 kB / 0.7422 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.7902, allocations: 170.5 kB / 0.7424 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.7914, allocations: 0.721 MB / 0.7431 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.7918, allocations: 0.7798 MB / 0.7438 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.792, allocations: 62.92 kB / 0.7439 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.7921, allocations: 31.42 kB / 0.7439 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.7921, allocations: 0 / 0.7439 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of Templates: time 0.01108/0.8032, allocations: 5.527 MB / 0.7493 GB, free: 12.33 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)