Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7965/0.7965, allocations: 143.8 MB / 159.1 MB, free: 6.5 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.001033/0.001033, allocations: 179.3 kB / 192 MB, free: 6.723 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.38/1.38, allocations: 225.7 MB / 450.4 MB, free: 4.949 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.000758/0.0007577, allocations: 99.53 kB / 0.5211 GB, free: 1.609 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.00158/0.001579, allocations: 285.7 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006251/0.0006249, allocations: 13.88 kB / 0.6948 GB, free: 59.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1473, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001375/0.1488, allocations: 1.012 MB / 0.7763 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1499, allocations: 1.025 MB / 0.7773 GB, free: 12.2 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.1499, allocations: 0 / 0.7773 GB, free: 12.2 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.1499, allocations: 3.938 kB / 0.7773 GB, free: 12.2 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.15, allocations: 0 / 0.7773 GB, free: 12.2 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.1504, allocations: 127.6 kB / 0.7774 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.1504, allocations: 27.81 kB / 0.7775 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.1505, allocations: 3.984 kB / 0.7775 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.1505, allocations: 4 kB / 0.7775 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.1506, allocations: 11.94 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1506, allocations: 0 / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.1511, allocations: 339.4 kB / 0.7778 GB, free: 11.69 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.1511, allocations: 0 / 0.7778 GB, free: 11.69 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.1511, allocations: 41.56 kB / 0.7778 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1514, allocations: 144 kB / 0.778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1514, allocations: 0 / 0.778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1514, allocations: 4 kB / 0.778 GB, free: 11.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1514, allocations: 0 / 0.778 GB, free: 11.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003883/0.1518, allocations: 359.5 kB / 0.7783 GB, free: 11.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1518, allocations: 8.031 kB / 0.7783 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.1519, allocations: 4.844 kB / 0.7783 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.152, allocations: 168.3 kB / 0.7785 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.152, allocations: 384 / 0.7785 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.152, allocations: 4.312 kB / 0.7785 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1521, allocations: 46.25 kB / 0.7785 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1521, allocations: 4.188 kB / 0.7785 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1522, allocations: 3.938 kB / 0.7785 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1522, allocations: 4 kB / 0.7786 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.1522, allocations: 15.98 kB / 0.7786 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.1526, allocations: 248.9 kB / 0.7788 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1528, allocations: 54.5 kB / 0.7789 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.1528, allocations: 16.86 kB / 0.7789 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1528, allocations: 4 kB / 0.7789 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1529, allocations: 30.56 kB / 0.7789 GB, free: 10.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1529, allocations: 0 / 0.7789 GB, free: 10.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001486/0.153, allocations: 61.75 kB / 0.779 GB, free: 10.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.1531, allocations: 59.39 kB / 0.779 GB, free: 10.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.1531, allocations: 93.86 kB / 0.7791 GB, free: 10.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1532, allocations: 29.7 kB / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.1532, allocations: 88.05 kB / 0.7792 GB, free: 10.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.1532, allocations: 7.812 kB / 0.7792 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.1532, allocations: 0 / 0.7792 GB, free: 10.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1533, allocations: 322.8 kB / 0.7795 GB, free: 9.688 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.1534, allocations: 7.938 kB / 0.7795 GB, free: 9.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.1534, allocations: 17.72 kB / 0.7796 GB, free: 9.656 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.1535, allocations: 37.64 kB / 0.7796 GB, free: 9.613 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1535, allocations: 0 / 0.7796 GB, free: 9.613 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.17e-05/0.1535, allocations: 57.62 kB / 0.7797 GB, free: 9.551 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1536, allocations: 8 kB / 0.7797 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1536, allocations: 0 / 0.7797 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1536, allocations: 0 / 0.7797 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.1536, allocations: 11.94 kB / 0.7797 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1537, allocations: 0 / 0.7797 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.1537, allocations: 0 / 0.7797 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1537, allocations: 4 kB / 0.7797 GB, free: 9.527 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.359e-05/0.1538, allocations: 122.3 kB / 0.7798 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1538, allocations: 4 kB / 0.7798 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.1539, allocations: 57.12 kB / 0.7799 GB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1539, allocations: 4 kB / 0.7799 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1539, allocations: 0 / 0.7799 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.154, allocations: 0 / 0.7799 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1541, allocations: 169.6 kB / 0.78 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1541, allocations: 0 / 0.78 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.1542, allocations: 19.92 kB / 0.78 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1542, allocations: 0 / 0.78 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1542, allocations: 0 / 0.78 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1542, allocations: 0 / 0.78 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1542, allocations: 0 / 0.78 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1543, allocations: 147.5 kB / 0.7802 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.1544, allocations: 77.11 kB / 0.7803 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1544, allocations: 8 kB / 0.7803 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.1545, allocations: 4 kB / 0.7803 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.1545, allocations: 3.984 kB / 0.7803 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.1545, allocations: 4 kB / 0.7803 GB, free: 8.816 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.884e-05/0.1545, allocations: 75.66 kB / 0.7803 GB, free: 8.742 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1546, allocations: 0 / 0.7803 GB, free: 8.742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.1548, allocations: 20 kB / 0.7804 GB, free: 8.723 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 (4): * Single equations (assignments): 4 * 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.000194/0.155, allocations: 135.2 kB / 0.7805 GB, free: 8.578 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.1551, allocations: 28.03 kB / 0.7805 GB, free: 8.551 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1551, allocations: 4 kB / 0.7805 GB, free: 8.547 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.825e-05/0.1551, allocations: 8 kB / 0.7805 GB, free: 8.539 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.1553, allocations: 11.88 kB / 0.7805 GB, free: 8.527 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.1556, allocations: 136.5 kB / 0.7807 GB, free: 8.363 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1559, allocations: 0.6731 MB / 0.7813 GB, free: 7.664 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.7e-05/0.156, allocations: 15.92 kB / 0.7813 GB, free: 7.648 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.156, allocations: 11.44 kB / 0.7814 GB, free: 7.637 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.156, allocations: 0 / 0.7814 GB, free: 7.637 MB / 458.7 MB Notification: Performance of Templates: time 0.002248/0.1582, allocations: 0.4896 MB / 0.7818 GB, free: 7.152 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)