Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7145/0.7145, allocations: 131 MB / 146.3 MB, free: 1.305 MB / 106.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.000876/0.0008762, allocations: 180.2 kB / 176.4 MB, free: 4.871 MB / 138.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.33/1.33, allocations: 225.7 MB / 432 MB, free: 9.629 MB / 314.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.0007847/0.0007847, allocations: 105.4 kB / 0.5003 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004481, allocations: 8.5 kB / 0.5885 GB, free: 72.79 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 79.6 MB / 0.6663 GB, free: 9.031 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001251/0.1317, allocations: 0.9666 MB / 0.6672 GB, free: 8.051 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1329, allocations: 1.021 MB / 0.6682 GB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.1329, allocations: 4 kB / 0.6682 GB, free: 6.914 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.1329, allocations: 0 / 0.6682 GB, free: 6.914 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.021e-05/0.1329, allocations: 0 / 0.6682 GB, free: 6.914 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.1334, allocations: 115.6 kB / 0.6683 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.702e-05/0.1335, allocations: 11.92 kB / 0.6683 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1335, allocations: 0 / 0.6683 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.1335, allocations: 11.88 kB / 0.6683 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.1336, allocations: 0 / 0.6683 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.1336, allocations: 0 / 0.6683 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.1341, allocations: 343.3 kB / 0.6687 GB, free: 6.441 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-06/0.1341, allocations: 0 / 0.6687 GB, free: 6.441 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.1341, allocations: 33.64 kB / 0.6687 GB, free: 6.402 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.1344, allocations: 132 kB / 0.6688 GB, free: 6.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1344, allocations: 0 / 0.6688 GB, free: 6.273 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1344, allocations: 4 kB / 0.6688 GB, free: 6.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1344, allocations: 0 / 0.6688 GB, free: 6.27 MB / 442.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.0003184/0.1347, allocations: 347.5 kB / 0.6692 GB, free: 5.879 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1348, allocations: 12.03 kB / 0.6692 GB, free: 5.867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.1348, allocations: 8.859 kB / 0.6692 GB, free: 5.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1349, allocations: 164.4 kB / 0.6693 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.1349, allocations: 384 / 0.6693 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1349, allocations: 384 / 0.6693 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.1354, allocations: 78.2 kB / 0.6694 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1355, allocations: 192 / 0.6694 GB, free: 5.578 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1355, allocations: 3.938 kB / 0.6694 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1355, allocations: 0 / 0.6694 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.1358, allocations: 43.89 kB / 0.6695 GB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.136, allocations: 161.7 kB / 0.6696 GB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.1364, allocations: 62.56 kB / 0.6697 GB, free: 5.254 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.1364, allocations: 12.92 kB / 0.6697 GB, free: 5.238 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.1366, allocations: 101.1 kB / 0.6698 GB, free: 5.121 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1366, allocations: 30.56 kB / 0.6698 GB, free: 5.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1367, allocations: 0 / 0.6698 GB, free: 5.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007763/0.1374, allocations: 129.4 kB / 0.6699 GB, free: 4.949 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1375, allocations: 63.53 kB / 0.67 GB, free: 4.875 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/0.1376, allocations: 89.86 kB / 0.6701 GB, free: 4.777 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1376, allocations: 25.7 kB / 0.6701 GB, free: 4.746 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.1376, allocations: 80.14 kB / 0.6702 GB, free: 4.664 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1376, allocations: 4 kB / 0.6702 GB, free: 4.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1376, allocations: 0 / 0.6702 GB, free: 4.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1377, allocations: 318.8 kB / 0.6705 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.1378, allocations: 12.12 kB / 0.6705 GB, free: 4.328 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.1379, allocations: 11.98 kB / 0.6705 GB, free: 4.316 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1381, allocations: 44.89 kB / 0.6706 GB, free: 4.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1381, allocations: 0 / 0.6706 GB, free: 4.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.1383, allocations: 61.53 kB / 0.6706 GB, free: 4.203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1383, allocations: 4 kB / 0.6706 GB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1383, allocations: 11.92 kB / 0.6706 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1383, allocations: 7.969 kB / 0.6706 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.1394, allocations: 115.9 kB / 0.6707 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.142, allocations: 1.47 MB / 0.6722 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.142, allocations: 8.016 kB / 0.6722 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1421, allocations: 0 / 0.6722 GB, free: 2.461 MB / 442.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.89e-05/0.1421, allocations: 113.9 kB / 0.6723 GB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/0.1422, allocations: 7.938 kB / 0.6723 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.1422, allocations: 7.125 kB / 0.6723 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1422, allocations: 0 / 0.6723 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1422, allocations: 0 / 0.6723 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1422, allocations: 3.984 kB / 0.6723 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.864e-05/0.1423, allocations: 149.6 kB / 0.6725 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1423, allocations: 3.984 kB / 0.6725 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009707/0.1433, allocations: 131.9 kB / 0.6726 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1433, allocations: 4 kB / 0.6726 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1433, allocations: 0 / 0.6726 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.1457, allocations: 1.473 MB / 0.674 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1457, allocations: 0 / 0.674 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1459, allocations: 93.16 kB / 0.6741 GB, free: 280 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.1459, allocations: 81.02 kB / 0.6742 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.146, allocations: 3.984 kB / 0.6742 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.146, allocations: 4 kB / 0.6742 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.1461, allocations: 3.938 kB / 0.6742 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1461, allocations: 4.031 kB / 0.6742 GB, free: 164 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.1461, allocations: 87.27 kB / 0.6743 GB, free: 76 kB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1461, allocations: 0 / 0.6743 GB, free: 76 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.1463, allocations: 11.94 kB / 0.6743 GB, free: 64 kB / 442.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.0001291/0.1465, allocations: 105.1 kB / 0.6744 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.1477, allocations: 151.9 kB / 0.6746 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1477, allocations: 0 / 0.6746 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.1489, allocations: 155.9 kB / 0.6747 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.149, allocations: 0 / 0.6747 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1505, allocations: 267 kB / 0.675 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1507, allocations: 0.6731 MB / 0.6756 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.85e-05/0.1507, allocations: 0 / 0.6756 GB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.1507, allocations: 11.44 kB / 0.6756 GB, free: 14.65 MB / 458.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1508, allocations: 4 kB / 0.6756 GB, free: 14.65 MB / 458.7 MB Notification: Performance of Templates: time 0.002511/0.1533, allocations: 478.3 kB / 0.6761 GB, free: 14.18 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)