Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.621/1.621, allocations: 291.7 MB / 306.8 MB, free: 7.68 MB / 234.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.0009458/0.000946, allocations: 182.2 kB / 375.4 MB, free: 5.117 MB / 298.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.364/1.364, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.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.000791/0.000791, allocations: 95.41 kB / 0.7699 GB, free: 50.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 12 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6077, allocations: 118.1 MB / 1.011 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001093/0.6088, allocations: 0.9769 MB / 1.012 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007042/0.6095, allocations: 0.5353 MB / 1.012 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.6096, allocations: 2.062 kB / 1.012 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.6096, allocations: 3.453 kB / 1.012 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.6096, allocations: 0 / 1.012 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.61, allocations: 122.9 kB / 1.013 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.562e-05/0.61, allocations: 7.5 kB / 1.013 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.6101, allocations: 5.125 kB / 1.013 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.6101, allocations: 6.281 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.6101, allocations: 4.562 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.6102, allocations: 1.75 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.6106, allocations: 335.6 kB / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-06/0.6106, allocations: 4.641 kB / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.6106, allocations: 28.64 kB / 1.013 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.6108, allocations: 94.89 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6108, allocations: 2.5 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6108, allocations: 0 / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.6108, allocations: 0 / 1.013 GB, free: 56.85 MB / 0.7136 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.0002581/0.611, allocations: 343.4 kB / 1.013 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.6111, allocations: 11.78 kB / 1.013 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.6111, allocations: 1.562 kB / 1.013 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.737e-05/0.6112, allocations: 165.8 kB / 1.013 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.6112, allocations: 3.938 kB / 1.013 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.6112, allocations: 5.625 kB / 1.013 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.6113, allocations: 38.33 kB / 1.014 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.6113, allocations: 192 / 1.014 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.6113, allocations: 5.062 kB / 1.014 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6113, allocations: 0 / 1.014 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.6113, allocations: 6.234 kB / 1.014 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.944e-05/0.6114, allocations: 155.5 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.219e-05/0.6115, allocations: 20.48 kB / 1.014 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.6115, allocations: 11.8 kB / 1.014 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.6115, allocations: 1.484 kB / 1.014 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.6115, allocations: 35.06 kB / 1.014 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.6116, allocations: 0 / 1.014 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001013/0.6117, allocations: 49.05 kB / 1.014 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.6117, allocations: 58.12 kB / 1.014 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.424e-05/0.6117, allocations: 92.64 kB / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.6117, allocations: 25.7 kB / 1.014 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.377e-05/0.6118, allocations: 83.47 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.6118, allocations: 8.344 kB / 1.014 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.6118, allocations: 3.875 kB / 1.014 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.6118, allocations: 315.2 kB / 1.014 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.6118, allocations: 0 / 1.014 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.6119, allocations: 8.781 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.226e-05/0.6119, allocations: 14.17 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6119, allocations: 0 / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.606e-05/0.6119, allocations: 37.8 kB / 1.014 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.612, allocations: 6.094 kB / 1.014 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.612, allocations: 6.531 kB / 1.014 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.612, allocations: 0 / 1.014 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.6121, allocations: 10.89 kB / 1.014 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001989/0.6123, allocations: 0.584 MB / 1.015 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.6124, allocations: 8.5 kB / 1.015 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.6124, allocations: 0 / 1.015 GB, free: 54.71 MB / 0.7136 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.6124, allocations: 115.1 kB / 1.015 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.6124, allocations: 2.656 kB / 1.015 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.6125, allocations: 50.05 kB / 1.015 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.6125, allocations: 0 / 1.015 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.6125, allocations: 0 / 1.015 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.6125, allocations: 0 / 1.015 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.971e-05/0.6126, allocations: 155.8 kB / 1.015 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6126, allocations: 2.938 kB / 1.015 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.6127, allocations: 10.53 kB / 1.015 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6127, allocations: 0 / 1.015 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.6127, allocations: 4.875 kB / 1.015 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001555/0.6128, allocations: 0.5846 MB / 1.016 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6129, allocations: 5.484 kB / 1.016 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.748e-05/0.6129, allocations: 70.73 kB / 1.016 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.6129, allocations: 77.11 kB / 1.016 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.6129, allocations: 2.219 kB / 1.016 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.423e-05/0.613, allocations: 2.719 kB / 1.016 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.613, allocations: 8.391 kB / 1.016 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.613, allocations: 0 / 1.016 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.588e-05/0.613, allocations: 80.48 kB / 1.016 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.613, allocations: 0.6562 kB / 1.016 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001854/0.6132, allocations: 19.58 kB / 1.016 GB, free: 53.53 MB / 0.7136 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001178/0.6133, allocations: 114.8 kB / 1.016 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.6135, allocations: 19.34 kB / 1.016 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.6135, allocations: 0 / 1.016 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.819e-05/0.6136, allocations: 11.98 kB / 1.016 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.6137, allocations: 12.25 kB / 1.016 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.6139, allocations: 105.7 kB / 1.016 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.614, allocations: 0.6752 MB / 1.017 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.614, allocations: 1.438 kB / 1.017 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-06/0.6141, allocations: 9.219 kB / 1.017 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.6141, allocations: 0 / 1.017 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.001974/0.616, allocations: 438 kB / 1.017 GB, free: 52.61 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)