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.001218/0.001218, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001255/0.001255, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001975, allocations: 277.4 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9127/0.9127, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 98.53 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.166, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4766/0.6427, allocations: 167.4 MB / 0.8451 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.6453, allocations: 1.567 MB / 0.8466 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.6455, allocations: 11.94 kB / 0.8466 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.646, allocations: 146.8 kB / 0.8467 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.6474, allocations: 0.7078 MB / 0.8474 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.6487, allocations: 0.5968 MB / 0.848 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006829/0.6494, allocations: 0.7254 MB / 0.8487 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.6497, allocations: 225.1 kB / 0.8489 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.6502, allocations: 350.7 kB / 0.8493 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.6505, allocations: 231 kB / 0.8495 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.6506, allocations: 24 kB / 0.8495 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.6518, allocations: 0.8573 MB / 0.8504 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6519, allocations: 119.6 kB / 0.8505 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.6521, allocations: 175.1 kB / 0.8506 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008798/0.653, allocations: 0.7352 MB / 0.8514 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.653, allocations: 4 kB / 0.8514 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.653, allocations: 0 / 0.8514 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.653, allocations: 0 / 0.8514 GB, free: 0.6367 MB / 0.6075 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.0008611/0.6539, allocations: 0.6667 MB / 0.852 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.6539, allocations: 8.031 kB / 0.852 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.655, allocations: 155.4 kB / 0.8522 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.6554, allocations: 326.6 kB / 0.8525 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.6555, allocations: 16.56 kB / 0.8525 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.6555, allocations: 27.94 kB / 0.8525 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.656, allocations: 285.9 kB / 0.8528 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.656, allocations: 3.938 kB / 0.8528 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.656, allocations: 12 kB / 0.8528 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.656, allocations: 7.938 kB / 0.8528 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.6564, allocations: 200.9 kB / 0.853 GB, free: 14.84 MB / 0.6231 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.001336/0.6578, allocations: 1.227 MB / 0.8542 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.6581, allocations: 152.7 kB / 0.8544 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.6582, allocations: 92.81 kB / 0.8544 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005312/0.6588, allocations: 303.2 kB / 0.8547 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.6588, allocations: 38.56 kB / 0.8548 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.6588, allocations: 0 / 0.8548 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0007394/0.6596, allocations: 293.4 kB / 0.855 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.6596, allocations: 51.41 kB / 0.8551 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.6599, allocations: 320.5 kB / 0.8554 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.66, allocations: 29.7 kB / 0.8554 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.6601, allocations: 188 kB / 0.8556 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.6602, allocations: 63.12 kB / 0.8557 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.6602, allocations: 49.62 kB / 0.8557 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6604, allocations: 346.7 kB / 0.8561 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.6605, allocations: 71.95 kB / 0.8561 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.6608, allocations: 130 kB / 0.8562 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.6611, allocations: 193.7 kB / 0.8564 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6611, allocations: 0 / 0.8564 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004378/0.6615, allocations: 256.9 kB / 0.8567 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6616, allocations: 4 kB / 0.8567 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6616, allocations: 4.094 kB / 0.8567 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6616, allocations: 4 kB / 0.8567 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.6618, allocations: 47.91 kB / 0.8567 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.6618, allocations: 0 / 0.8567 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.662, allocations: 35.67 kB / 0.8568 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.662, allocations: 8 kB / 0.8568 GB, free: 10.72 MB / 0.6231 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.0001282/0.6622, allocations: 153.7 kB / 0.8569 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.6622, allocations: 39.42 kB / 0.857 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.6627, allocations: 238.6 kB / 0.8572 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6627, allocations: 144 / 0.8572 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6627, allocations: 0 / 0.8572 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6627, allocations: 3.984 kB / 0.8572 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.6638, allocations: 0.7068 MB / 0.8579 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6638, allocations: 7.938 kB / 0.8579 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.6639, allocations: 35.91 kB / 0.8579 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.664, allocations: 4 kB / 0.8579 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.664, allocations: 12.22 kB / 0.8579 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.664, allocations: 7.938 kB / 0.8579 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.664, allocations: 3.938 kB / 0.8579 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.6646, allocations: 440.9 kB / 0.8584 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.6647, allocations: 124.7 kB / 0.8585 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.6648, allocations: 8 kB / 0.8585 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.665, allocations: 7.938 kB / 0.8585 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.665, allocations: 27.97 kB / 0.8585 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.665, allocations: 8 kB / 0.8585 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002026/0.6653, allocations: 227 kB / 0.8588 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6653, allocations: 0 / 0.8588 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003674/0.6656, allocations: 80.03 kB / 0.8588 GB, free: 8.473 MB / 0.6231 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.0003608/0.666, allocations: 168 kB / 0.859 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.6664, allocations: 179.8 kB / 0.8592 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6664, allocations: 0 / 0.8592 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.6666, allocations: 100.4 kB / 0.8593 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.6674, allocations: 176.3 kB / 0.8594 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/0.6684, allocations: 0.6403 MB / 0.86 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.6687, allocations: 0.7795 MB / 0.8608 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.6689, allocations: 62.92 kB / 0.8609 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.6689, allocations: 27.44 kB / 0.8609 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.669, allocations: 4 kB / 0.8609 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of Templates: time 0.01025/0.6792, allocations: 5.806 MB / 0.8666 GB, free: 0.5977 MB / 0.6231 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)