Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.826/1.826, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.001027/0.001027, allocations: 175.5 kB / 393.1 MB, free: 4.102 MB / 314.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.493/1.493, allocations: 225.7 MB / 0.6743 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007823/0.0007823, allocations: 93.44 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6031, allocations: 121.3 MB / 1.041 GB, free: 58.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001345/0.6045, allocations: 0.9833 MB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009718/0.6055, allocations: 1.021 MB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.6056, allocations: 0 / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.6056, allocations: 0 / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.6056, allocations: 10.8 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.6061, allocations: 118.1 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.238e-05/0.6061, allocations: 15.58 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.6062, allocations: 0 / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.6062, allocations: 1.812 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.6063, allocations: 4.828 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.6063, allocations: 0.8438 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.6068, allocations: 341.8 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.6068, allocations: 3.797 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.6069, allocations: 29.64 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.6072, allocations: 142.8 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6072, allocations: 0 / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6072, allocations: 0 / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.6072, allocations: 1.406 kB / 1.043 GB, free: 56.78 MB / 0.698 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.000329/0.6075, allocations: 350.2 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.6076, allocations: 11 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.6076, allocations: 7.094 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.6077, allocations: 160.4 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.6077, allocations: 3.062 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.6077, allocations: 4.312 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.244e-05/0.6078, allocations: 31.39 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.6078, allocations: 2.594 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.6078, allocations: 3.938 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6079, allocations: 0 / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.6079, allocations: 5.156 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.608, allocations: 161.2 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.028e-05/0.6081, allocations: 23.86 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.6081, allocations: 15.73 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.6081, allocations: 2.406 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.6081, allocations: 31.72 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6081, allocations: 0.9375 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001225/0.6083, allocations: 45.09 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.6083, allocations: 54.84 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.6084, allocations: 92.94 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.6084, allocations: 26.61 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.667e-05/0.6084, allocations: 80.75 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.6084, allocations: 15.25 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.6084, allocations: 0 / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/0.6085, allocations: 315.4 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.6085, allocations: 6.516 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-06/0.6085, allocations: 5.906 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.6085, allocations: 11.73 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6086, allocations: 2.219 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.45e-05/0.6086, allocations: 34.95 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6086, allocations: 7.469 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6086, allocations: 4.812 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6087, allocations: 2.844 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.6088, allocations: 10.16 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002539/0.6091, allocations: 0.5917 MB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.6091, allocations: 0.75 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.6091, allocations: 0 / 1.046 GB, free: 54.59 MB / 0.698 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 (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 5.13e-05/0.6092, allocations: 112.6 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.6092, allocations: 8.25 kB / 1.046 GB, free: 54.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.16e-05/0.6093, allocations: 48.86 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6093, allocations: 3.938 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6093, allocations: 0 / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.6093, allocations: 0.75 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.458e-05/0.6094, allocations: 154 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.6094, allocations: 0.8438 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.091e-05/0.6095, allocations: 12.3 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6095, allocations: 480 / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.6095, allocations: 4 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001772/0.6097, allocations: 0.5792 MB / 1.046 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6097, allocations: 6.406 kB / 1.046 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.881e-05/0.6098, allocations: 64.62 kB / 1.046 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.6098, allocations: 78.31 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.6098, allocations: 6.812 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.6098, allocations: 3.938 kB / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.6098, allocations: 5.672 kB / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.6099, allocations: 0 / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.092e-05/0.6099, allocations: 77.34 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6099, allocations: 0 / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002104/0.6101, allocations: 11.56 kB / 1.047 GB, free: 53.39 MB / 0.698 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 (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.0001685/0.6103, allocations: 123.6 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.6104, allocations: 16.11 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6104, allocations: 0 / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.6105, allocations: 24.56 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.6107, allocations: 3.938 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.611, allocations: 110.1 kB / 1.047 GB, free: 53.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.424e-05/0.6111, allocations: 0.6752 MB / 1.048 GB, free: 52.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.6111, allocations: 3 kB / 1.048 GB, free: 52.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.6111, allocations: 7.438 kB / 1.048 GB, free: 52.47 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.6112, allocations: 0 / 1.048 GB, free: 52.47 MB / 0.698 GB Notification: Performance of Templates: time 0.002377/0.6135, allocations: 436.6 kB / 1.048 GB, free: 52.4 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)