Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.733/1.733, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.001/0.001, allocations: 175.5 kB / 393.1 MB, free: 4.078 MB / 314.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.664/1.664, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007394/0.0007395, allocations: 92.39 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003378, allocations: 13.62 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5765, allocations: 121.3 MB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1635/0.7401, allocations: 156.8 MB / 1.194 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003231/0.7434, allocations: 2.113 MB / 1.196 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.7437, allocations: 11.94 kB / 1.196 GB, free: 2.703 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.7442, allocations: 114.5 kB / 1.196 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.7461, allocations: 0.6718 MB / 1.197 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.7477, allocations: 0.5491 MB / 1.197 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.7489, allocations: 0.9655 MB / 1.198 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.7492, allocations: 202.6 kB / 1.199 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/0.7499, allocations: 314.2 kB / 1.199 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.7502, allocations: 223.4 kB / 1.199 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.7502, allocations: 12 kB / 1.199 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.7521, allocations: 1.004 MB / 1.2 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.7523, allocations: 95.33 kB / 1.2 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.7525, allocations: 185.2 kB / 1.2 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.7538, allocations: 0.7664 MB / 1.201 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7538, allocations: 0 / 1.201 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7538, allocations: 0 / 1.201 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7538, allocations: 0 / 1.201 GB, free: 14.69 MB / 0.7761 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.0009473/0.7547, allocations: 0.5974 MB / 1.202 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.7548, allocations: 8.031 kB / 1.202 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.7559, allocations: 150.8 kB / 1.202 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.7563, allocations: 312 kB / 1.202 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.7564, allocations: 16.44 kB / 1.202 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.7564, allocations: 23.91 kB / 1.202 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.757, allocations: 288.4 kB / 1.202 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.757, allocations: 0 / 1.202 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.757, allocations: 8 kB / 1.202 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.7571, allocations: 8 kB / 1.202 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.7575, allocations: 201.5 kB / 1.203 GB, free: 13.17 MB / 0.7761 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.001522/0.7591, allocations: 1.221 MB / 1.204 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.7594, allocations: 140.3 kB / 1.204 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.7596, allocations: 91.25 kB / 1.204 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006464/0.7602, allocations: 321.2 kB / 1.204 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.7603, allocations: 46.5 kB / 1.204 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.7603, allocations: 0 / 1.204 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0007979/0.7611, allocations: 295.1 kB / 1.205 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.7611, allocations: 59.34 kB / 1.205 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.7615, allocations: 308.6 kB / 1.205 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.7615, allocations: 29.7 kB / 1.205 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.7617, allocations: 183.4 kB / 1.205 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.7618, allocations: 55.86 kB / 1.205 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.7618, allocations: 0 / 1.205 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7619, allocations: 339.9 kB / 1.206 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.7621, allocations: 76.42 kB / 1.206 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.7623, allocations: 123.2 kB / 1.206 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.7628, allocations: 208.9 kB / 1.206 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7628, allocations: 0 / 1.206 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004713/0.7633, allocations: 239.3 kB / 1.206 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7633, allocations: 8.703 kB / 1.206 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7633, allocations: 96 / 1.206 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7633, allocations: 8 kB / 1.206 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.7635, allocations: 49.98 kB / 1.206 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7636, allocations: 0.75 kB / 1.206 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.7638, allocations: 36.38 kB / 1.206 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.7638, allocations: 12.7 kB / 1.206 GB, free: 9.484 MB / 0.7761 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.0001469/0.764, allocations: 158.7 kB / 1.206 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.764, allocations: 31.62 kB / 1.207 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/0.7645, allocations: 228.8 kB / 1.207 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7645, allocations: 4.141 kB / 1.207 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7645, allocations: 4 kB / 1.207 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7646, allocations: 5.484 kB / 1.207 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.7656, allocations: 0.6874 MB / 1.207 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7656, allocations: 0.8906 kB / 1.207 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.7658, allocations: 36.72 kB / 1.207 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7658, allocations: 4.156 kB / 1.207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.7659, allocations: 16.73 kB / 1.207 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7659, allocations: 4.891 kB / 1.207 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7659, allocations: 4 kB / 1.207 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.7666, allocations: 448.1 kB / 1.208 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.7667, allocations: 123.5 kB / 1.208 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.7668, allocations: 8.5 kB / 1.208 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.767, allocations: 19.61 kB / 1.208 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.767, allocations: 8.641 kB / 1.208 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.767, allocations: 16.06 kB / 1.208 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000241/0.7673, allocations: 226.7 kB / 1.208 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7673, allocations: 0 / 1.208 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003958/0.7677, allocations: 80.52 kB / 1.208 GB, free: 7.477 MB / 0.7761 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.0003878/0.7681, allocations: 166.4 kB / 1.209 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.7685, allocations: 179.5 kB / 1.209 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7686, allocations: 0 / 1.209 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.7688, allocations: 97.62 kB / 1.209 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009316/0.7697, allocations: 163.2 kB / 1.209 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.7708, allocations: 0.7213 MB / 1.21 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.7711, allocations: 0.7814 MB / 1.21 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.7714, allocations: 66.45 kB / 1.21 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.7714, allocations: 23.44 kB / 1.21 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of SimCode: time 2.4e-07/0.7714, allocations: 0 / 1.21 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of Templates: time 0.0106/0.782, allocations: 5.443 MB / 1.216 GB, free: 1.477 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)