Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00179/0.00179, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001896/0.001896, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 279 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9624/0.9624, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 98.78 kB / 0.5947 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2275, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.607/0.8345, allocations: 165.1 MB / 0.8409 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.8377, allocations: 1.543 MB / 0.8424 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.8381, allocations: 9.531 kB / 0.8424 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.8387, allocations: 130.2 kB / 0.8425 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.8408, allocations: 0.6601 MB / 0.8432 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.8426, allocations: 0.5591 MB / 0.8437 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009268/0.8435, allocations: 0.7236 MB / 0.8444 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.8439, allocations: 228.3 kB / 0.8446 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006718/0.8446, allocations: 345.2 kB / 0.845 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.8449, allocations: 244.7 kB / 0.8452 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.845, allocations: 23.41 kB / 0.8452 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.8466, allocations: 0.8979 MB / 0.8461 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.8467, allocations: 108.8 kB / 0.8462 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.8469, allocations: 174.5 kB / 0.8464 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.8482, allocations: 0.7991 MB / 0.8472 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8482, allocations: 0 / 0.8472 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8482, allocations: 0 / 0.8472 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.8482, allocations: 0 / 0.8472 GB, free: 13.58 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009752/0.8492, allocations: 0.6658 MB / 0.8478 GB, free: 13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.8492, allocations: 8.156 kB / 0.8478 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.8503, allocations: 155.4 kB / 0.848 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.8508, allocations: 312.8 kB / 0.8483 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.8508, allocations: 19.16 kB / 0.8483 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.8508, allocations: 24.12 kB / 0.8483 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.8513, allocations: 290.4 kB / 0.8486 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.8514, allocations: 0 / 0.8486 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.8514, allocations: 6.906 kB / 0.8486 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.8514, allocations: 7.219 kB / 0.8486 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.8518, allocations: 200.5 kB / 0.8488 GB, free: 12.33 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.001396/0.8532, allocations: 1.226 MB / 0.85 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.8535, allocations: 149 kB / 0.8501 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.8537, allocations: 98.61 kB / 0.8502 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.8543, allocations: 300 kB / 0.8505 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.8544, allocations: 30.56 kB / 0.8505 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 2.584e-06/0.8544, allocations: 7.938 kB / 0.8505 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007783/0.8552, allocations: 298.5 kB / 0.8508 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.8552, allocations: 51.41 kB / 0.8509 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.8555, allocations: 324.9 kB / 0.8512 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.8556, allocations: 25.7 kB / 0.8512 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.8557, allocations: 191 kB / 0.8514 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.8558, allocations: 56.95 kB / 0.8514 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.8559, allocations: 53.64 kB / 0.8515 GB, free: 10 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.856, allocations: 338.4 kB / 0.8518 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.8561, allocations: 73.12 kB / 0.8519 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.8564, allocations: 134.2 kB / 0.852 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.8567, allocations: 196.8 kB / 0.8522 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8567, allocations: 0 / 0.8522 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004491/0.8572, allocations: 255.8 kB / 0.8524 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8572, allocations: 10.03 kB / 0.8525 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8572, allocations: 0 / 0.8525 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8572, allocations: 1.594 kB / 0.8525 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.8574, allocations: 48.52 kB / 0.8525 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.8575, allocations: 9.016 kB / 0.8525 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.8577, allocations: 38.02 kB / 0.8525 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.8577, allocations: 10.28 kB / 0.8526 GB, free: 9.23 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 (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.0001425/0.8579, allocations: 152.9 kB / 0.8527 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.8579, allocations: 34.19 kB / 0.8527 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.8584, allocations: 231.3 kB / 0.853 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8584, allocations: 6.906 kB / 0.853 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8584, allocations: 3.984 kB / 0.853 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.8584, allocations: 0 / 0.853 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.8594, allocations: 0.7099 MB / 0.8537 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8595, allocations: 2.875 kB / 0.8537 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.8596, allocations: 37.45 kB / 0.8537 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8596, allocations: 2.438 kB / 0.8537 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.8597, allocations: 4.406 kB / 0.8537 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.8597, allocations: 10.83 kB / 0.8537 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8597, allocations: 2.781 kB / 0.8537 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006312/0.8603, allocations: 455.6 kB / 0.8542 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8604, allocations: 123.3 kB / 0.8543 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.8605, allocations: 6.453 kB / 0.8543 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.8607, allocations: 19.78 kB / 0.8543 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.8608, allocations: 23.34 kB / 0.8543 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.8608, allocations: 11.62 kB / 0.8543 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002048/0.861, allocations: 228.9 kB / 0.8545 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.861, allocations: 0 / 0.8545 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003819/0.8614, allocations: 75.75 kB / 0.8546 GB, free: 7.664 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 (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.0003817/0.8618, allocations: 169.8 kB / 0.8548 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.8622, allocations: 194 kB / 0.855 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.8622, allocations: 0 / 0.855 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.8624, allocations: 95.25 kB / 0.8551 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.8633, allocations: 166.4 kB / 0.8552 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.8644, allocations: 0.7271 MB / 0.8559 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.8647, allocations: 0.7792 MB / 0.8567 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.865, allocations: 67.95 kB / 0.8567 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.8651, allocations: 24.97 kB / 0.8568 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.8651, allocations: 0 / 0.8568 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.01084/0.8759, allocations: 5.731 MB / 0.8624 GB, free: 3.207 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)