Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 255.9 MB / 271.2 MB, free: 8.875 MB / 218.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.001042/0.001042, allocations: 182.3 kB / 330.8 MB, free: 476 kB / 250.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.638/1.638, allocations: 225.7 MB / 0.6016 GB, free: 1.637 MB / 426.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.001031/0.001031, allocations: 117.3 kB / 0.709 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1675, allocations: 109.2 MB / 0.9328 GB, free: 6.262 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001035/0.1685, allocations: 0.9774 MB / 0.9337 GB, free: 5.277 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.1694, allocations: 1.025 MB / 0.9347 GB, free: 4.141 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.1694, allocations: 0 / 0.9347 GB, free: 4.141 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.1694, allocations: 0 / 0.9347 GB, free: 4.141 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.732e-05/0.1695, allocations: 0 / 0.9347 GB, free: 4.141 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.17, allocations: 119.6 kB / 0.9348 GB, free: 4.023 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 3.6e-05/0.17, allocations: 11.94 kB / 0.9348 GB, free: 4.012 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.17, allocations: 4 kB / 0.9348 GB, free: 4.008 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.1701, allocations: 7.938 kB / 0.9348 GB, free: 4 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.1701, allocations: 11.97 kB / 0.9349 GB, free: 3.988 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.1701, allocations: 0 / 0.9349 GB, free: 3.988 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.1705, allocations: 331.3 kB / 0.9352 GB, free: 3.664 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1706, allocations: 0 / 0.9352 GB, free: 3.664 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.1706, allocations: 37.62 kB / 0.9352 GB, free: 3.621 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1708, allocations: 140 kB / 0.9353 GB, free: 3.484 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1708, allocations: 0 / 0.9353 GB, free: 3.484 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1708, allocations: 0 / 0.9353 GB, free: 3.484 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.1708, allocations: 0 / 0.9353 GB, free: 3.484 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002816/0.1711, allocations: 347.5 kB / 0.9357 GB, free: 3.094 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1712, allocations: 15.98 kB / 0.9357 GB, free: 3.078 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.1712, allocations: 4.938 kB / 0.9357 GB, free: 3.074 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.519e-05/0.1713, allocations: 160.4 kB / 0.9358 GB, free: 2.879 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1713, allocations: 4.312 kB / 0.9359 GB, free: 2.875 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.1713, allocations: 4.375 kB / 0.9359 GB, free: 2.871 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.966e-05/0.1714, allocations: 38.12 kB / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1714, allocations: 192 / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1714, allocations: 11.94 kB / 0.9359 GB, free: 2.816 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1714, allocations: 0 / 0.9359 GB, free: 2.816 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.1714, allocations: 4 kB / 0.9359 GB, free: 2.812 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.701e-05/0.1715, allocations: 153.7 kB / 0.9361 GB, free: 2.613 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.1716, allocations: 22.61 kB / 0.9361 GB, free: 2.582 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.1716, allocations: 12.92 kB / 0.9361 GB, free: 2.566 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1716, allocations: 0 / 0.9361 GB, free: 2.566 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.1716, allocations: 34.56 kB / 0.9361 GB, free: 2.523 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1716, allocations: 7.938 kB / 0.9361 GB, free: 2.516 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001057/0.1717, allocations: 49.53 kB / 0.9362 GB, free: 2.461 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.1718, allocations: 51.41 kB / 0.9362 GB, free: 2.398 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.437e-05/0.1718, allocations: 93.86 kB / 0.9363 GB, free: 2.297 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-06/0.1718, allocations: 25.7 kB / 0.9363 GB, free: 2.266 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.1718, allocations: 80.14 kB / 0.9364 GB, free: 2.184 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.1719, allocations: 4.25 kB / 0.9364 GB, free: 2.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.1719, allocations: 4 kB / 0.9364 GB, free: 2.176 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.416e-05/0.1719, allocations: 310.8 kB / 0.9367 GB, free: 1.863 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.1719, allocations: 7.984 kB / 0.9367 GB, free: 1.855 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-06/0.1719, allocations: 0 / 0.9367 GB, free: 1.855 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.172, allocations: 20.8 kB / 0.9367 GB, free: 1.832 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.172, allocations: 0 / 0.9367 GB, free: 1.832 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.25e-05/0.172, allocations: 37.61 kB / 0.9368 GB, free: 1.789 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1721, allocations: 12 kB / 0.9368 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1721, allocations: 3.938 kB / 0.9368 GB, free: 1.773 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1721, allocations: 0 / 0.9368 GB, free: 1.773 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1722, allocations: 11.98 kB / 0.9368 GB, free: 1.762 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002048/0.1724, allocations: 0.586 MB / 0.9374 GB, free: 1.152 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.1725, allocations: 4 kB / 0.9374 GB, free: 1.148 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1725, allocations: 0 / 0.9374 GB, free: 1.148 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.1725, allocations: 120 kB / 0.9375 GB, free: 1.023 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.1725, allocations: 4 kB / 0.9375 GB, free: 1.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.993e-05/0.1726, allocations: 40.83 kB / 0.9375 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1726, allocations: 3.938 kB / 0.9375 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1726, allocations: 0 / 0.9375 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1726, allocations: 3.984 kB / 0.9376 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.099e-05/0.1727, allocations: 153.6 kB / 0.9377 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1727, allocations: 0 / 0.9377 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.1728, allocations: 16.02 kB / 0.9377 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1728, allocations: 0 / 0.9377 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.1728, allocations: 3.938 kB / 0.9377 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001523/0.173, allocations: 0.5821 MB / 0.9383 GB, free: 140 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.173, allocations: 3.938 kB / 0.9383 GB, free: 136 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.838e-05/0.173, allocations: 77.14 kB / 0.9384 GB, free: 40 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1731, allocations: 77.11 kB / 0.9384 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.1731, allocations: 0 / 0.9384 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.1731, allocations: 0 / 0.9384 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.1731, allocations: 7.875 kB / 0.9384 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1731, allocations: 4 kB / 0.9384 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.1732, allocations: 79.27 kB / 0.9385 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1732, allocations: 0 / 0.9385 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001849/0.1734, allocations: 12 kB / 0.9385 GB, free: 15.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.1736, allocations: 121.1 kB / 0.9387 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.1737, allocations: 19.98 kB / 0.9387 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1737, allocations: 0 / 0.9387 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.1738, allocations: 11.98 kB / 0.9387 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.1739, allocations: 4 kB / 0.9387 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.1742, allocations: 115.2 kB / 0.9388 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1744, allocations: 0.6731 MB / 0.9395 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.1745, allocations: 0 / 0.9395 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.1745, allocations: 11.44 kB / 0.9395 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.1745, allocations: 0 / 0.9395 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of Templates: time 0.002057/0.1765, allocations: 435.3 kB / 0.9399 GB, free: 14.41 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)