Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 297.4 MB / 312.6 MB, free: 2.941 MB / 234.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.0009488/0.0009489, allocations: 193 kB / 382.3 MB, free: 14.82 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.37/1.37, allocations: 225.7 MB / 0.6617 GB, free: 7.211 MB / 490.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.0009203/0.0009205, allocations: 96.17 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004653, allocations: 13.22 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.5621, allocations: 119.2 MB / 1.022 GB, free: 57.92 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001645/0.5638, allocations: 0.9862 MB / 1.023 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.5649, allocations: 1.021 MB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.5649, allocations: 0 / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.5649, allocations: 0.5 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.565, allocations: 5.5 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.5654, allocations: 114.8 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.5655, allocations: 4.781 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.5655, allocations: 7.578 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.5656, allocations: 9.859 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.5656, allocations: 4.062 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.5656, allocations: 3.938 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.5662, allocations: 333 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.5662, allocations: 1.922 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.5663, allocations: 32.66 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.5666, allocations: 141.6 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5666, allocations: 1.812 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5666, allocations: 3.5 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5666, allocations: 2.344 kB / 1.025 GB, free: 56.41 MB / 0.698 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.0003168/0.5669, allocations: 343.8 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.567, allocations: 13.38 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.567, allocations: 4.938 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.895e-05/0.5671, allocations: 167.1 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.5671, allocations: 9.906 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.5672, allocations: 1.406 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.5673, allocations: 38.86 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.5673, allocations: 192 / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.5673, allocations: 5.094 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5673, allocations: 0.7031 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.5673, allocations: 3.156 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.5675, allocations: 150.3 kB / 1.026 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.536e-05/0.5675, allocations: 28.06 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.5676, allocations: 12.8 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5676, allocations: 3.531 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.5676, allocations: 32.59 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5676, allocations: 0 / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.5678, allocations: 44.05 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.5678, allocations: 53.02 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.5679, allocations: 95.66 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.5679, allocations: 25.7 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/0.5679, allocations: 81.55 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.5679, allocations: 12.75 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.568, allocations: 6.062 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.568, allocations: 313 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.568, allocations: 2.906 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-06/0.568, allocations: 2.094 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.5681, allocations: 17.19 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5681, allocations: 0 / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.307e-05/0.5681, allocations: 35.92 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5682, allocations: 5.297 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5682, allocations: 3.938 kB / 1.026 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5682, allocations: 2.484 kB / 1.026 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.5684, allocations: 10.66 kB / 1.026 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002502/0.5686, allocations: 0.589 MB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.5687, allocations: 2.969 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.5687, allocations: 4.906 kB / 1.027 GB, free: 54.23 MB / 0.698 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 5.727e-05/0.5687, allocations: 115.3 kB / 1.027 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.5688, allocations: 0.9375 kB / 1.027 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.547e-05/0.5689, allocations: 51.44 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5689, allocations: 2.891 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5689, allocations: 4 kB / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5689, allocations: 0 / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.569, allocations: 160 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.569, allocations: 3.438 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.5691, allocations: 10.17 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5691, allocations: 0 / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.5691, allocations: 7 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001752/0.5693, allocations: 0.5853 MB / 1.028 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5693, allocations: 3.938 kB / 1.028 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.524e-05/0.5693, allocations: 65.11 kB / 1.028 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.5694, allocations: 79.38 kB / 1.028 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.5694, allocations: 0 / 1.028 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.5694, allocations: 1.469 kB / 1.028 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.5694, allocations: 5.109 kB / 1.028 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.5694, allocations: 1.281 kB / 1.028 GB, free: 53.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.5694, allocations: 82.08 kB / 1.028 GB, free: 53.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5694, allocations: 0 / 1.028 GB, free: 53.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001868/0.5696, allocations: 8.375 kB / 1.028 GB, free: 53.02 MB / 0.698 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.0001487/0.5698, allocations: 119.6 kB / 1.028 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.5699, allocations: 17.12 kB / 1.028 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.57, allocations: 160 / 1.028 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.57, allocations: 22.27 kB / 1.028 GB, free: 52.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.5702, allocations: 1.375 kB / 1.028 GB, free: 52.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.5705, allocations: 110.8 kB / 1.028 GB, free: 52.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.5706, allocations: 0.6739 MB / 1.029 GB, free: 52.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.751e-05/0.5707, allocations: 2.328 kB / 1.029 GB, free: 52.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.5707, allocations: 12.81 kB / 1.029 GB, free: 52.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.5707, allocations: 0 / 1.029 GB, free: 52.1 MB / 0.698 GB Notification: Performance of Templates: time 0.002452/0.5731, allocations: 431.8 kB / 1.029 GB, free: 52.05 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)