Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7523/0.7523, allocations: 143.8 MB / 159.1 MB, free: 6.488 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 183.2 kB / 192 MB, free: 6.719 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.7 MB / 450.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008232/0.0008233, allocations: 103.6 kB / 0.5211 GB, free: 1.605 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001616/0.001616, allocations: 276.3 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00057/0.00057, allocations: 14 kB / 0.6948 GB, free: 59.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.189, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5451/0.7341, allocations: 156.9 MB / 0.9285 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.7374, allocations: 2.127 MB / 0.9306 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.7377, allocations: 13.38 kB / 0.9306 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.7382, allocations: 118.9 kB / 0.9307 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.7402, allocations: 0.6729 MB / 0.9314 GB, free: 9.047 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.742, allocations: 0.559 MB / 0.9319 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.7433, allocations: 0.9795 MB / 0.9329 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.7438, allocations: 199.9 kB / 0.9331 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.7445, allocations: 320 kB / 0.9334 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.7449, allocations: 230 kB / 0.9336 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.745, allocations: 13.81 kB / 0.9336 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.747, allocations: 0.9972 MB / 0.9346 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.7472, allocations: 104.2 kB / 0.9347 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.7474, allocations: 184.2 kB / 0.9348 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.7487, allocations: 0.778 MB / 0.9356 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.7487, allocations: 4.859 kB / 0.9356 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7488, allocations: 0 / 0.9356 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.7488, allocations: 0 / 0.9356 GB, free: 8.578 MB / 0.5573 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.001009/0.7498, allocations: 0.6135 MB / 0.9362 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.7498, allocations: 8.906 kB / 0.9362 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.7509, allocations: 156.9 kB / 0.9364 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.7514, allocations: 313 kB / 0.9367 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.7515, allocations: 17.06 kB / 0.9367 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-05/0.7516, allocations: 31 kB / 0.9367 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.7524, allocations: 283.2 kB / 0.937 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.7524, allocations: 0.6562 kB / 0.937 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.7525, allocations: 12.19 kB / 0.937 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.7525, allocations: 9.562 kB / 0.937 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.7531, allocations: 210.3 kB / 0.9372 GB, free: 7.738 MB / 0.5573 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.001837/0.755, allocations: 1.239 MB / 0.9384 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.7553, allocations: 159.1 kB / 0.9386 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.7555, allocations: 101.4 kB / 0.9387 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007188/0.7563, allocations: 315.6 kB / 0.939 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.7563, allocations: 30.56 kB / 0.939 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=17): time 3.026e-06/0.7563, allocations: 0 / 0.939 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17): time 0.0008142/0.7571, allocations: 321.5 kB / 0.9393 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.7572, allocations: 51.41 kB / 0.9393 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.7576, allocations: 315.9 kB / 0.9396 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.7576, allocations: 30.86 kB / 0.9397 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.7578, allocations: 189 kB / 0.9399 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.7578, allocations: 59.05 kB / 0.9399 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/0.7578, allocations: 3.25 kB / 0.9399 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.758, allocations: 341.3 kB / 0.9402 GB, free: 5.551 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.7582, allocations: 74.34 kB / 0.9403 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.7584, allocations: 129.6 kB / 0.9404 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.7588, allocations: 205.9 kB / 0.9406 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7588, allocations: 3.062 kB / 0.9406 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004457/0.7592, allocations: 268.7 kB / 0.9409 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.7592, allocations: 6.875 kB / 0.9409 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.7593, allocations: 0 / 0.9409 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7593, allocations: 3 kB / 0.9409 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.7595, allocations: 48.97 kB / 0.9409 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.7595, allocations: 4.969 kB / 0.9409 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.7597, allocations: 37.08 kB / 0.941 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.7598, allocations: 8.188 kB / 0.941 GB, free: 5.262 MB / 0.5573 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.0001395/0.7599, allocations: 160 kB / 0.9411 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.76, allocations: 30.28 kB / 0.9412 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.7605, allocations: 248.7 kB / 0.9414 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.7605, allocations: 0 / 0.9414 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7605, allocations: 144 / 0.9414 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7605, allocations: 3.984 kB / 0.9414 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.7616, allocations: 0.7149 MB / 0.9421 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7616, allocations: 7.75 kB / 0.9421 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.7618, allocations: 38.64 kB / 0.9422 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.7618, allocations: 7.078 kB / 0.9422 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.7618, allocations: 7.312 kB / 0.9422 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.7618, allocations: 7.844 kB / 0.9422 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7618, allocations: 3.531 kB / 0.9422 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.7625, allocations: 463.4 kB / 0.9426 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.7626, allocations: 119.2 kB / 0.9427 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.7627, allocations: 8.172 kB / 0.9427 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.7629, allocations: 23.98 kB / 0.9428 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.7629, allocations: 18.27 kB / 0.9428 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.7629, allocations: 10.72 kB / 0.9428 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002008/0.7632, allocations: 230.1 kB / 0.943 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7632, allocations: 0 / 0.943 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004023/0.7636, allocations: 78.38 kB / 0.9431 GB, free: 4.02 MB / 0.5573 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.0004766/0.7641, allocations: 180.5 kB / 0.9433 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.7645, allocations: 187.9 kB / 0.9434 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7646, allocations: 0 / 0.9434 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.7648, allocations: 99.69 kB / 0.9435 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.7657, allocations: 169.5 kB / 0.9437 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.7668, allocations: 0.7628 MB / 0.9444 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.7672, allocations: 0.7818 MB / 0.9452 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.7674, allocations: 70.64 kB / 0.9453 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.7675, allocations: 26.25 kB / 0.9453 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of SimCode: time 2.214e-06/0.7675, allocations: 3.938 kB / 0.9453 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of Templates: time 0.01056/0.778, allocations: 5.512 MB / 0.9507 GB, free: 15.75 MB / 0.573 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)