Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7622/0.7622, allocations: 143.8 MB / 159.1 MB, free: 6.477 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.001172/0.001172, allocations: 174.5 kB / 192 MB, free: 6.73 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.46/1.46, allocations: 225.7 MB / 450.4 MB, free: 4.992 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.0008026/0.0008026, allocations: 110.4 kB / 0.5211 GB, free: 1.656 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.00165/0.00165, allocations: 270.8 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004762, allocations: 11.94 kB / 0.6948 GB, free: 59.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 82.46 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001449/0.161, allocations: 0.9694 MB / 0.7763 GB, free: 13.36 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1621, allocations: 1.029 MB / 0.7773 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.433e-05/0.1621, allocations: 0 / 0.7773 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.1621, allocations: 0 / 0.7773 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.1622, allocations: 3.938 kB / 0.7773 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.1626, allocations: 119.6 kB / 0.7774 GB, free: 12.1 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.374e-05/0.1627, allocations: 11.94 kB / 0.7774 GB, free: 12.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.1627, allocations: 3.984 kB / 0.7774 GB, free: 12.09 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.1628, allocations: 11.94 kB / 0.7774 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.1628, allocations: 3.984 kB / 0.7774 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1628, allocations: 4 kB / 0.7774 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.1633, allocations: 335.3 kB / 0.7777 GB, free: 11.74 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.1633, allocations: 0 / 0.7777 GB, free: 11.74 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.1634, allocations: 33.62 kB / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1636, allocations: 140 kB / 0.7779 GB, free: 11.56 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1636, allocations: 0 / 0.7779 GB, free: 11.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1636, allocations: 0 / 0.7779 GB, free: 11.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1637, allocations: 0 / 0.7779 GB, free: 11.56 MB / 458.7 MB 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.0003434/0.164, allocations: 357.9 kB / 0.7782 GB, free: 11.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.164, allocations: 8.031 kB / 0.7783 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.1641, allocations: 8.875 kB / 0.7783 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1642, allocations: 168.3 kB / 0.7784 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1642, allocations: 384 / 0.7784 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1642, allocations: 384 / 0.7784 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.109e-05/0.1643, allocations: 34.2 kB / 0.7785 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1643, allocations: 192 / 0.7785 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.1643, allocations: 3.938 kB / 0.7785 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1643, allocations: 4 kB / 0.7785 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.1644, allocations: 4 kB / 0.7785 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.1645, allocations: 153.7 kB / 0.7786 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.681e-05/0.1646, allocations: 22.58 kB / 0.7786 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.1646, allocations: 8.922 kB / 0.7786 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1646, allocations: 0 / 0.7786 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1646, allocations: 38.5 kB / 0.7787 GB, free: 10.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1647, allocations: 0 / 0.7787 GB, free: 10.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.1648, allocations: 45.62 kB / 0.7787 GB, free: 10.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.1648, allocations: 55.41 kB / 0.7788 GB, free: 10.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.1649, allocations: 89.86 kB / 0.7789 GB, free: 10.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1649, allocations: 25.7 kB / 0.7789 GB, free: 10.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.1649, allocations: 80.14 kB / 0.779 GB, free: 10.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.165, allocations: 15.89 kB / 0.779 GB, free: 10.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.165, allocations: 4.25 kB / 0.779 GB, free: 10.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.1651, allocations: 310.8 kB / 0.7793 GB, free: 9.945 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.1651, allocations: 0 / 0.7793 GB, free: 9.945 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.1651, allocations: 4 kB / 0.7793 GB, free: 9.941 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.1651, allocations: 16.8 kB / 0.7793 GB, free: 9.922 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1651, allocations: 3.938 kB / 0.7793 GB, free: 9.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.271e-05/0.1652, allocations: 37.69 kB / 0.7793 GB, free: 9.875 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1652, allocations: 8 kB / 0.7793 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1652, allocations: 8.031 kB / 0.7794 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1652, allocations: 0 / 0.7794 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1654, allocations: 8 kB / 0.7794 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003141/0.1657, allocations: 0.5899 MB / 0.7799 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.1657, allocations: 4 kB / 0.7799 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1658, allocations: 0 / 0.7799 GB, free: 9.234 MB / 458.7 MB 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 7.43e-05/0.1658, allocations: 117.9 kB / 0.7801 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.1658, allocations: 3.938 kB / 0.7801 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.495e-05/0.1659, allocations: 44.81 kB / 0.7801 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.166, allocations: 0 / 0.7801 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.166, allocations: 0 / 0.7801 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.166, allocations: 0 / 0.7801 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.661e-05/0.1661, allocations: 157.6 kB / 0.7802 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1661, allocations: 0 / 0.7802 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.1661, allocations: 11.94 kB / 0.7803 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1662, allocations: 4.031 kB / 0.7803 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1662, allocations: 0 / 0.7803 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002722/0.1664, allocations: 0.5898 MB / 0.7808 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1665, allocations: 3.938 kB / 0.7808 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.205e-05/0.1665, allocations: 65.2 kB / 0.7809 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.1666, allocations: 81.05 kB / 0.781 GB, free: 8.039 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1666, allocations: 7.984 kB / 0.781 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.1666, allocations: 0 / 0.781 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.1666, allocations: 3.938 kB / 0.781 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1666, allocations: 3.984 kB / 0.781 GB, free: 8.023 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.836e-05/0.1667, allocations: 79.28 kB / 0.7811 GB, free: 7.945 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1667, allocations: 0 / 0.7811 GB, free: 7.945 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.1669, allocations: 8 kB / 0.7811 GB, free: 7.938 MB / 458.7 MB 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.000151/0.167, allocations: 119.4 kB / 0.7812 GB, free: 7.809 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1672, allocations: 15.98 kB / 0.7812 GB, free: 7.793 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1672, allocations: 0 / 0.7812 GB, free: 7.793 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.1673, allocations: 15.98 kB / 0.7812 GB, free: 7.777 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1674, allocations: 5.219 kB / 0.7812 GB, free: 7.773 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.1677, allocations: 119.1 kB / 0.7813 GB, free: 7.633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1679, allocations: 0.6731 MB / 0.782 GB, free: 6.934 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.565e-05/0.1679, allocations: 0 / 0.782 GB, free: 6.934 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.098e-05/0.168, allocations: 7.438 kB / 0.782 GB, free: 6.926 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.168, allocations: 0 / 0.782 GB, free: 6.926 MB / 458.7 MB Notification: Performance of Templates: time 0.002141/0.1701, allocations: 423.6 kB / 0.7824 GB, free: 6.516 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)