Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008263/0.0008264, allocations: 173.6 kB / 16.08 MB, free: 5.605 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4592/0.4592, allocations: 89.07 MB / 105.9 MB, free: 12.4 MB / 90.72 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.312/1.312, allocations: 225.7 MB / 353.2 MB, free: 1.078 MB / 282.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.000735/0.000735, allocations: 98.41 kB / 425.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8 kB / 0.4955 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.277, allocations: 71.33 MB / 0.5652 GB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001356/0.2784, allocations: 0.9683 MB / 0.5661 GB, free: 41.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2794, allocations: 1.022 MB / 0.5671 GB, free: 40.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.2795, allocations: 0.625 kB / 0.5671 GB, free: 40.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.2795, allocations: 4.781 kB / 0.5671 GB, free: 40.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.2795, allocations: 3.938 kB / 0.5671 GB, free: 40.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.2799, allocations: 119.1 kB / 0.5673 GB, free: 40.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.308e-05/0.28, allocations: 11.98 kB / 0.5673 GB, free: 40.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.2801, allocations: 0 / 0.5673 GB, free: 40.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.2801, allocations: 4 kB / 0.5673 GB, free: 40.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.2801, allocations: 7.938 kB / 0.5673 GB, free: 40.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.2801, allocations: 0 / 0.5673 GB, free: 40.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.2806, allocations: 331.4 kB / 0.5676 GB, free: 39.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.2806, allocations: 15.94 kB / 0.5676 GB, free: 39.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.2806, allocations: 25.7 kB / 0.5676 GB, free: 39.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2808, allocations: 141.8 kB / 0.5678 GB, free: 39.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2808, allocations: 3.938 kB / 0.5678 GB, free: 39.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2808, allocations: 0 / 0.5678 GB, free: 39.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.2808, allocations: 0 / 0.5678 GB, free: 39.56 MB / 410.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.0002843/0.2811, allocations: 349.2 kB / 0.5681 GB, free: 39.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2812, allocations: 8.031 kB / 0.5681 GB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.2812, allocations: 0.9375 kB / 0.5681 GB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.323e-05/0.2813, allocations: 172.3 kB / 0.5683 GB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.2813, allocations: 4.375 kB / 0.5683 GB, free: 38.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.2813, allocations: 384 / 0.5683 GB, free: 38.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.618e-05/0.2814, allocations: 34.27 kB / 0.5683 GB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2814, allocations: 192 / 0.5683 GB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2814, allocations: 3.938 kB / 0.5683 GB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.2814, allocations: 0 / 0.5683 GB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.2815, allocations: 7.984 kB / 0.5683 GB, free: 38.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.2816, allocations: 145.7 kB / 0.5685 GB, free: 38.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.2816, allocations: 30.55 kB / 0.5685 GB, free: 38.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.2816, allocations: 12.86 kB / 0.5685 GB, free: 38.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2816, allocations: 7.984 kB / 0.5685 GB, free: 38.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.2817, allocations: 34.62 kB / 0.5686 GB, free: 38.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2817, allocations: 0 / 0.5686 GB, free: 38.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001112/0.2818, allocations: 37.64 kB / 0.5686 GB, free: 38.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.2818, allocations: 55.53 kB / 0.5686 GB, free: 38.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.929e-05/0.2819, allocations: 101.8 kB / 0.5687 GB, free: 38.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-06/0.2819, allocations: 25.7 kB / 0.5688 GB, free: 38.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.292e-05/0.2819, allocations: 80.14 kB / 0.5688 GB, free: 38.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.2819, allocations: 15.72 kB / 0.5689 GB, free: 38.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.282, allocations: 0 / 0.5689 GB, free: 38.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.282, allocations: 318.8 kB / 0.5692 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-06/0.282, allocations: 0 / 0.5692 GB, free: 37.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.282, allocations: 8.125 kB / 0.5692 GB, free: 37.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.282, allocations: 8.859 kB / 0.5692 GB, free: 37.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2821, allocations: 0 / 0.5692 GB, free: 37.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.6e-05/0.2821, allocations: 41.69 kB / 0.5692 GB, free: 37.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.527e-06/0.2821, allocations: 7.906 kB / 0.5692 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2821, allocations: 3.938 kB / 0.5692 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2821, allocations: 4 kB / 0.5692 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2823, allocations: 19.91 kB / 0.5692 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002055/0.2825, allocations: 0.5861 MB / 0.5698 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.2825, allocations: 0 / 0.5698 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2825, allocations: 0 / 0.5698 GB, free: 37.23 MB / 410.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 4.516e-05/0.2826, allocations: 118.9 kB / 0.5699 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-06/0.2826, allocations: 3.906 kB / 0.5699 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.871e-05/0.2827, allocations: 56.78 kB / 0.57 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.2827, allocations: 0 / 0.57 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2827, allocations: 0 / 0.57 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2827, allocations: 0 / 0.57 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.27e-05/0.2828, allocations: 157.6 kB / 0.5701 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2828, allocations: 0 / 0.5701 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.2828, allocations: 8 kB / 0.5702 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2828, allocations: 0 / 0.5702 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.2829, allocations: 3.984 kB / 0.5702 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001481/0.283, allocations: 0.5822 MB / 0.5707 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.283, allocations: 3.938 kB / 0.5707 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.448e-05/0.2831, allocations: 69.11 kB / 0.5708 GB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.2831, allocations: 81.09 kB / 0.5709 GB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.2831, allocations: 0 / 0.5709 GB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.263e-05/0.2831, allocations: 0 / 0.5709 GB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.2831, allocations: 12.06 kB / 0.5709 GB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2831, allocations: 0 / 0.5709 GB, free: 36.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.422e-05/0.2832, allocations: 75.28 kB / 0.571 GB, free: 35.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2832, allocations: 0 / 0.571 GB, free: 35.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.2833, allocations: 15.94 kB / 0.571 GB, free: 35.93 MB / 410.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.0001368/0.2835, allocations: 113.3 kB / 0.5711 GB, free: 35.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.2836, allocations: 28.11 kB / 0.5711 GB, free: 35.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2836, allocations: 0 / 0.5711 GB, free: 35.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.2837, allocations: 19.92 kB / 0.5711 GB, free: 35.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2839, allocations: 4 kB / 0.5711 GB, free: 35.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.2841, allocations: 107.1 kB / 0.5712 GB, free: 35.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.796e-05/0.2843, allocations: 0.6731 MB / 0.5719 GB, free: 34.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.019e-05/0.2843, allocations: 4.125 kB / 0.5719 GB, free: 34.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.2843, allocations: 11.44 kB / 0.5719 GB, free: 34.91 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2843, allocations: 0 / 0.5719 GB, free: 34.91 MB / 410.7 MB Notification: Performance of Templates: time 0.00217/0.2865, allocations: 433.4 kB / 0.5723 GB, free: 34.48 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)