Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7514/0.7514, allocations: 143.8 MB / 159.1 MB, free: 6.492 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.00102/0.00102, allocations: 179.3 kB / 192 MB, free: 6.711 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.474/1.474, allocations: 225.7 MB / 450.4 MB, free: 6.676 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.001072/0.001072, allocations: 103.5 kB / 0.5211 GB, free: 3.34 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.001633/0.001633, allocations: 271.6 kB / 0.6025 GB, free: 49.52 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.000487, allocations: 23.98 kB / 0.6948 GB, free: 2.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.408, allocations: 82.45 MB / 0.7753 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5646/0.9726, allocations: 156.8 MB / 0.9285 GB, free: 16.41 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.976, allocations: 2.118 MB / 0.9305 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.9765, allocations: 9.531 kB / 0.9305 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005361/0.977, allocations: 127 kB / 0.9307 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.9791, allocations: 0.6593 MB / 0.9313 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.981, allocations: 0.5463 MB / 0.9318 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.9825, allocations: 0.973 MB / 0.9328 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.9829, allocations: 198.1 kB / 0.933 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006542/0.9836, allocations: 315.8 kB / 0.9333 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.9839, allocations: 222.4 kB / 0.9335 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.984, allocations: 13.06 kB / 0.9335 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.9862, allocations: 0.9984 MB / 0.9345 GB, free: 15.5 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.9863, allocations: 100.7 kB / 0.9346 GB, free: 15.5 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.9866, allocations: 180.2 kB / 0.9347 GB, free: 15.47 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.9879, allocations: 0.7676 MB / 0.9355 GB, free: 15.43 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.988, allocations: 0 / 0.9355 GB, free: 15.43 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.988, allocations: 0 / 0.9355 GB, free: 15.43 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.988, allocations: 0 / 0.9355 GB, free: 15.43 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009237/0.9889, allocations: 0.5979 MB / 0.9361 GB, free: 14.95 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.989, allocations: 9.281 kB / 0.9361 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.9901, allocations: 152.2 kB / 0.9362 GB, free: 14.93 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.9906, allocations: 310.8 kB / 0.9365 GB, free: 14.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.9906, allocations: 16 kB / 0.9365 GB, free: 14.7 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.9907, allocations: 23.34 kB / 0.9366 GB, free: 14.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.9911, allocations: 278 kB / 0.9368 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.9912, allocations: 0 / 0.9368 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.9912, allocations: 9.562 kB / 0.9368 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.9912, allocations: 14.58 kB / 0.9368 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.9916, allocations: 206.5 kB / 0.937 GB, free: 14.61 MB / 0.573 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.001379/0.993, allocations: 1.217 MB / 0.9382 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.9932, allocations: 141.8 kB / 0.9384 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.9934, allocations: 96 kB / 0.9385 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/0.994, allocations: 318.2 kB / 0.9388 GB, free: 13.45 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.9941, allocations: 35.44 kB / 0.9388 GB, free: 13.41 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 3.847e-06/0.9941, allocations: 3.984 kB / 0.9388 GB, free: 13.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0007167/0.9948, allocations: 305 kB / 0.9391 GB, free: 13.35 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.9949, allocations: 54.09 kB / 0.9391 GB, free: 13.29 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.9952, allocations: 309.4 kB / 0.9394 GB, free: 13.18 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.9952, allocations: 29.95 kB / 0.9395 GB, free: 13.15 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.9954, allocations: 178.1 kB / 0.9396 GB, free: 13.04 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.9954, allocations: 54.67 kB / 0.9397 GB, free: 13.01 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.9954, allocations: 3.75 kB / 0.9397 GB, free: 13.01 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9956, allocations: 344.1 kB / 0.94 GB, free: 12.69 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.9957, allocations: 70.09 kB / 0.9401 GB, free: 12.69 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.9959, allocations: 126.9 kB / 0.9402 GB, free: 12.64 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.9962, allocations: 202.7 kB / 0.9404 GB, free: 12.59 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9963, allocations: 0 / 0.9404 GB, free: 12.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004263/0.9967, allocations: 247.1 kB / 0.9406 GB, free: 12.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.9967, allocations: 8.641 kB / 0.9406 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.9967, allocations: 6.781 kB / 0.9407 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9968, allocations: 1.469 kB / 0.9407 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.997, allocations: 44.22 kB / 0.9407 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.997, allocations: 5.062 kB / 0.9407 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.9972, allocations: 38.73 kB / 0.9407 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.9973, allocations: 14.69 kB / 0.9408 GB, free: 12.51 MB / 0.573 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 (22): * Single equations (assignments): 22 * 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.0001512/0.9975, allocations: 146.8 kB / 0.9409 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.9975, allocations: 34.72 kB / 0.9409 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.998, allocations: 225.1 kB / 0.9411 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.998, allocations: 4 kB / 0.9411 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.998, allocations: 3.344 kB / 0.9411 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.998, allocations: 0 / 0.9411 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.999, allocations: 0.6975 MB / 0.9418 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.999, allocations: 0 / 0.9418 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.9992, allocations: 38.34 kB / 0.9419 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.9992, allocations: 7.438 kB / 0.9419 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.9992, allocations: 5.906 kB / 0.9419 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.9992, allocations: 3.188 kB / 0.9419 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.9992, allocations: 8.812 kB / 0.9419 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.9999, allocations: 447.6 kB / 0.9423 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/1, allocations: 121.5 kB / 0.9424 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/1, allocations: 5.828 kB / 0.9424 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1, allocations: 25.8 kB / 0.9425 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/1, allocations: 19.12 kB / 0.9425 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/1, allocations: 9.781 kB / 0.9425 GB, free: 11.63 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002125/1.001, allocations: 223.6 kB / 0.9427 GB, free: 11.55 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.6e-07/1.001, allocations: 0 / 0.9427 GB, free: 11.55 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004142/1.001, allocations: 78.09 kB / 0.9428 GB, free: 11.55 MB / 0.573 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 (15): * Single equations (assignments): 15 * 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.0004655/1.001, allocations: 188.5 kB / 0.943 GB, free: 11.43 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004671/1.002, allocations: 177.7 kB / 0.9431 GB, free: 11.42 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.002, allocations: 0.5938 kB / 0.9431 GB, free: 11.42 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/1.002, allocations: 96.09 kB / 0.9432 GB, free: 11.42 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.003, allocations: 149.6 kB / 0.9434 GB, free: 11.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/1.004, allocations: 0.7309 MB / 0.9441 GB, free: 10.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/1.005, allocations: 0.7808 MB / 0.9448 GB, free: 10.25 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002524/1.005, allocations: 61.2 kB / 0.9449 GB, free: 10.24 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/1.005, allocations: 26.34 kB / 0.9449 GB, free: 10.23 MB / 0.573 GB Notification: Performance of SimCode: time 1.993e-06/1.005, allocations: 0 / 0.9449 GB, free: 10.23 MB / 0.573 GB Notification: Performance of Templates: time 0.009724/1.015, allocations: 5.46 MB / 0.9503 GB, free: 9.871 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)