Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.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 7.0.1/package.mo): time 2.82/2.82, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.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.001289/0.001289, allocations: 192.6 kB / 329.5 MB, free: 1.16 MB / 250.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 2.431/2.431, allocations: 225.6 MB / 0.6001 GB, free: 2.254 MB / 426.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.001368/0.001368, allocations: 104.1 kB / 0.7074 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004849, allocations: 11.41 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2024, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001339/0.2038, allocations: 0.9735 MB / 0.9317 GB, free: 24.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2049, allocations: 0.5339 MB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.2049, allocations: 4 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.205, allocations: 0 / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.205, allocations: 4 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.2056, allocations: 115.5 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.2057, allocations: 7.938 kB / 0.9324 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.2058, allocations: 4 kB / 0.9324 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.2058, allocations: 7.922 kB / 0.9324 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.2058, allocations: 11.98 kB / 0.9324 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2059, allocations: 0 / 0.9324 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006347/0.2065, allocations: 331.3 kB / 0.9327 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-06/0.2065, allocations: 4 kB / 0.9327 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.2066, allocations: 25.7 kB / 0.9327 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.2068, allocations: 104 kB / 0.9328 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2068, allocations: 0 / 0.9328 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2068, allocations: 0 / 0.9328 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2068, allocations: 0 / 0.9328 GB, free: 23.03 MB / 0.5886 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.0003337/0.2072, allocations: 351.4 kB / 0.9332 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2072, allocations: 8.031 kB / 0.9332 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.2073, allocations: 4.922 kB / 0.9332 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.2074, allocations: 164.4 kB / 0.9333 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2074, allocations: 4.375 kB / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.2074, allocations: 8.375 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.2075, allocations: 34.2 kB / 0.9334 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2075, allocations: 192 / 0.9334 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2076, allocations: 3.938 kB / 0.9334 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2076, allocations: 0 / 0.9334 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.2076, allocations: 4 kB / 0.9334 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.2078, allocations: 149.7 kB / 0.9335 GB, free: 22.17 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.945e-05/0.2078, allocations: 26.61 kB / 0.9335 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.2079, allocations: 8.859 kB / 0.9336 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2079, allocations: 0 / 0.9336 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.208, allocations: 42.55 kB / 0.9336 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.208, allocations: 0 / 0.9336 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.2081, allocations: 41.64 kB / 0.9336 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.2082, allocations: 55.53 kB / 0.9337 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.815e-05/0.2082, allocations: 93.86 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.2083, allocations: 29.64 kB / 0.9338 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.2083, allocations: 84.12 kB / 0.9339 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.2083, allocations: 3.906 kB / 0.9339 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.2083, allocations: 0 / 0.9339 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.2084, allocations: 318.8 kB / 0.9342 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.2084, allocations: 0 / 0.9342 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.2084, allocations: 8.125 kB / 0.9342 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.967e-05/0.2085, allocations: 3.938 kB / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2085, allocations: 0 / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.317e-05/0.2086, allocations: 45.62 kB / 0.9343 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2086, allocations: 8 kB / 0.9343 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2086, allocations: 3.938 kB / 0.9343 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2086, allocations: 0 / 0.9343 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.2089, allocations: 8 kB / 0.9343 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003005/0.2092, allocations: 0.5938 MB / 0.9348 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.2092, allocations: 4 kB / 0.9349 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2092, allocations: 0 / 0.9349 GB, free: 20.71 MB / 0.5886 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 6.487e-05/0.2093, allocations: 115.9 kB / 0.935 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.2093, allocations: 0 / 0.935 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2095, allocations: 48.8 kB / 0.935 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2095, allocations: 4.125 kB / 0.935 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2095, allocations: 0 / 0.935 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2095, allocations: 0 / 0.935 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405e-05/0.2096, allocations: 161.6 kB / 0.9352 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2096, allocations: 0 / 0.9352 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.2098, allocations: 12.03 kB / 0.9352 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2098, allocations: 0 / 0.9352 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2098, allocations: 0 / 0.9352 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002457/0.2101, allocations: 0.5938 MB / 0.9358 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2101, allocations: 3.938 kB / 0.9358 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.405e-05/0.2102, allocations: 57.17 kB / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.2102, allocations: 81.02 kB / 0.9359 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2102, allocations: 3.984 kB / 0.9359 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.2103, allocations: 4 kB / 0.9359 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.2103, allocations: 7.938 kB / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.2103, allocations: 8.062 kB / 0.9359 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.467e-05/0.2103, allocations: 79.22 kB / 0.936 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2103, allocations: 4 kB / 0.936 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000241/0.2106, allocations: 4 kB / 0.936 GB, free: 19.41 MB / 0.5886 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.0001743/0.2108, allocations: 119.2 kB / 0.9361 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.211, allocations: 15.98 kB / 0.9361 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.211, allocations: 4.156 kB / 0.9361 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2112, allocations: 19.98 kB / 0.9362 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.2114, allocations: 2.031 kB / 0.9362 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.2117, allocations: 107.2 kB / 0.9363 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2118, allocations: 0.6692 MB / 0.9369 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.2119, allocations: 8.062 kB / 0.9369 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.2119, allocations: 11.38 kB / 0.9369 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/0.2119, allocations: 0 / 0.9369 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.002894/0.2148, allocations: 424.1 kB / 0.9373 GB, free: 17.98 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)