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_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") 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.436/1.436, 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.0009557/0.0009558, allocations: 183.3 kB / 330.8 MB, free: 464 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.58/1.58, allocations: 225.7 MB / 0.6016 GB, free: 1.531 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.0008232/0.0008232, allocations: 111.5 kB / 0.709 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 8.594 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1628, allocations: 109.2 MB / 0.9328 GB, free: 6.242 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001105/0.164, allocations: 0.9774 MB / 0.9337 GB, free: 5.258 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.1649, allocations: 1.025 MB / 0.9347 GB, free: 4.121 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.731e-05/0.1649, allocations: 0 / 0.9347 GB, free: 4.121 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.165, allocations: 0 / 0.9347 GB, free: 4.121 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.165, allocations: 0 / 0.9347 GB, free: 4.121 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.1655, allocations: 119.6 kB / 0.9348 GB, free: 4.004 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 3.644e-05/0.1655, allocations: 7.938 kB / 0.9348 GB, free: 3.996 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.1656, allocations: 8 kB / 0.9348 GB, free: 3.988 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.1656, allocations: 3.938 kB / 0.9348 GB, free: 3.984 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.1657, allocations: 4 kB / 0.9348 GB, free: 3.98 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.1657, allocations: 0 / 0.9348 GB, free: 3.98 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.1661, allocations: 339.3 kB / 0.9352 GB, free: 3.648 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1661, allocations: 0 / 0.9352 GB, free: 3.648 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.1661, allocations: 33.64 kB / 0.9352 GB, free: 3.609 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.1664, allocations: 136 kB / 0.9353 GB, free: 3.477 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1664, allocations: 4 kB / 0.9353 GB, free: 3.473 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1664, allocations: 0 / 0.9353 GB, free: 3.473 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.1664, allocations: 0 / 0.9353 GB, free: 3.473 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.0003209/0.1667, allocations: 351.5 kB / 0.9357 GB, free: 3.078 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1668, allocations: 19.97 kB / 0.9357 GB, free: 3.059 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.1668, allocations: 0.9375 kB / 0.9357 GB, free: 3.059 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.1669, allocations: 164.3 kB / 0.9358 GB, free: 2.859 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1669, allocations: 384 / 0.9358 GB, free: 2.859 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1669, allocations: 12.3 kB / 0.9359 GB, free: 2.848 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.167, allocations: 26.27 kB / 0.9359 GB, free: 2.816 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1671, allocations: 192 / 0.9359 GB, free: 2.816 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1671, allocations: 7.938 kB / 0.9359 GB, free: 2.809 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1671, allocations: 4 kB / 0.9359 GB, free: 2.805 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.1671, allocations: 11.92 kB / 0.9359 GB, free: 2.793 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.1672, allocations: 145.7 kB / 0.936 GB, free: 2.602 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.647e-05/0.1673, allocations: 22.61 kB / 0.9361 GB, free: 2.57 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.1673, allocations: 16.91 kB / 0.9361 GB, free: 2.551 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1673, allocations: 0 / 0.9361 GB, free: 2.551 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.1673, allocations: 34.56 kB / 0.9361 GB, free: 2.508 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1673, allocations: 0 / 0.9361 GB, free: 2.508 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001191/0.1675, allocations: 53.48 kB / 0.9362 GB, free: 2.449 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.1675, allocations: 51.41 kB / 0.9362 GB, free: 2.387 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.1675, allocations: 97.84 kB / 0.9363 GB, free: 2.281 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.1676, allocations: 29.7 kB / 0.9363 GB, free: 2.246 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.1676, allocations: 80.14 kB / 0.9364 GB, free: 2.164 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1676, allocations: 256 / 0.9364 GB, free: 2.164 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.1676, allocations: 4 kB / 0.9364 GB, free: 2.16 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.905e-05/0.1676, allocations: 310.8 kB / 0.9367 GB, free: 1.848 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.1677, allocations: 4 kB / 0.9367 GB, free: 1.844 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.1677, allocations: 4 kB / 0.9367 GB, free: 1.84 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.1677, allocations: 12.86 kB / 0.9367 GB, free: 1.824 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1677, allocations: 3.984 kB / 0.9367 GB, free: 1.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.497e-05/0.1678, allocations: 45.55 kB / 0.9368 GB, free: 1.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1678, allocations: 12 kB / 0.9368 GB, free: 1.758 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1678, allocations: 3.938 kB / 0.9368 GB, free: 1.754 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1678, allocations: 4 kB / 0.9368 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.168, allocations: 11.98 kB / 0.9368 GB, free: 1.738 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002372/0.1682, allocations: 0.5782 MB / 0.9374 GB, free: 1.137 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.1683, allocations: 4.031 kB / 0.9374 GB, free: 1.133 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1683, allocations: 0 / 0.9374 GB, free: 1.133 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 5.244e-05/0.1683, allocations: 116.7 kB / 0.9375 GB, free: 1.012 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.1683, allocations: 0 / 0.9375 GB, free: 1.012 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.1684, allocations: 52.69 kB / 0.9375 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1684, allocations: 4 kB / 0.9375 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1684, allocations: 0 / 0.9375 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1685, allocations: 0 / 0.9375 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.532e-05/0.1685, allocations: 153.6 kB / 0.9377 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1685, allocations: 4 kB / 0.9377 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.132e-05/0.1686, allocations: 12.02 kB / 0.9377 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1686, allocations: 4 kB / 0.9377 GB, free: 0.7266 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.1686, allocations: 3.938 kB / 0.9377 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001655/0.1688, allocations: 0.5821 MB / 0.9383 GB, free: 120 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1688, allocations: 3.938 kB / 0.9383 GB, free: 116 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.099e-05/0.1689, allocations: 69.16 kB / 0.9384 GB, free: 28 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1689, allocations: 81.11 kB / 0.9384 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.1689, allocations: 0 / 0.9384 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.169, allocations: 0 / 0.9384 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.169, allocations: 3.938 kB / 0.9384 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.169, allocations: 0 / 0.9384 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.325e-05/0.169, allocations: 83.28 kB / 0.9385 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/0.169, allocations: 0 / 0.9385 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002002/0.1692, allocations: 12.12 kB / 0.9385 GB, free: 15.83 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.0001538/0.1694, allocations: 119.2 kB / 0.9386 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1695, allocations: 19.92 kB / 0.9387 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1696, allocations: 4 kB / 0.9387 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.1696, allocations: 15.98 kB / 0.9387 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.1698, allocations: 7.938 kB / 0.9387 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.1701, allocations: 107.3 kB / 0.9388 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.1703, allocations: 0.677 MB / 0.9395 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.1703, allocations: 0 / 0.9395 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.1703, allocations: 11.44 kB / 0.9395 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of SimCode: time 2.91e-07/0.1703, allocations: 3.938 kB / 0.9395 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of Templates: time 0.002145/0.1725, allocations: 419.5 kB / 0.9399 GB, free: 14.4 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)