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_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.326/2.326, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001253/0.001253, allocations: 188.1 kB / 329.5 MB, free: 1.18 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.376/2.376, allocations: 225.6 MB / 0.6001 GB, free: 2.141 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.0009956/0.0009955, allocations: 99.23 kB / 0.7074 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.000642, allocations: 10.84 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2031, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001351/0.2045, allocations: 0.9735 MB / 0.9317 GB, free: 24.15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2056, allocations: 0.5416 MB / 0.9322 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.2057, allocations: 4 kB / 0.9322 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.2057, allocations: 0 / 0.9322 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.2057, allocations: 0 / 0.9322 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.2063, allocations: 111.5 kB / 0.9324 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.2064, allocations: 7.984 kB / 0.9324 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.2064, allocations: 4 kB / 0.9324 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.2064, allocations: 3.938 kB / 0.9324 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.2065, allocations: 15.98 kB / 0.9324 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2065, allocations: 0 / 0.9324 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.2072, allocations: 331.3 kB / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.2072, allocations: 0 / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.2072, allocations: 29.64 kB / 0.9327 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.2075, allocations: 100.1 kB / 0.9328 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2075, allocations: 3.984 kB / 0.9328 GB, free: 23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2075, allocations: 0 / 0.9328 GB, free: 23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2075, allocations: 0 / 0.9328 GB, free: 23 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.0003529/0.2079, allocations: 351.4 kB / 0.9332 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.208, allocations: 12.03 kB / 0.9332 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.208, allocations: 0.9375 kB / 0.9332 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.2081, allocations: 160.4 kB / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2081, allocations: 384 / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2081, allocations: 4.375 kB / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.2082, allocations: 42.19 kB / 0.9334 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2083, allocations: 192 / 0.9334 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2083, allocations: 3.938 kB / 0.9334 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2083, allocations: 0 / 0.9334 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.2083, allocations: 11.98 kB / 0.9334 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.2085, allocations: 145.7 kB / 0.9335 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/0.2086, allocations: 26.59 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.2086, allocations: 4.859 kB / 0.9336 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.2086, allocations: 7.938 kB / 0.9336 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2087, allocations: 34.62 kB / 0.9336 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2087, allocations: 4 kB / 0.9336 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.2088, allocations: 37.64 kB / 0.9336 GB, free: 22 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2089, allocations: 55.39 kB / 0.9337 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.655e-05/0.2089, allocations: 101.8 kB / 0.9338 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.209, allocations: 25.7 kB / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/0.209, allocations: 80.14 kB / 0.9339 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.209, allocations: 7.844 kB / 0.9339 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.209, allocations: 0 / 0.9339 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.2091, allocations: 323.1 kB / 0.9342 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.2091, allocations: 0 / 0.9342 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.2091, allocations: 11.92 kB / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.992e-05/0.2092, allocations: 0 / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2092, allocations: 0 / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.3e-05/0.2093, allocations: 37.7 kB / 0.9342 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2093, allocations: 8 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2093, allocations: 3.938 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2093, allocations: 0 / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2096, allocations: 16.08 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003152/0.2099, allocations: 0.5859 MB / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.2099, allocations: 0 / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2099, allocations: 0 / 0.9348 GB, free: 20.69 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.469e-05/0.21, allocations: 113.8 kB / 0.935 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.21, allocations: 96 / 0.935 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.2102, allocations: 48.81 kB / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2102, allocations: 4 kB / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2102, allocations: 0 / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2102, allocations: 0 / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.485e-05/0.2103, allocations: 161.6 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2103, allocations: 0 / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.2105, allocations: 16.02 kB / 0.9352 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2105, allocations: 0 / 0.9352 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.2105, allocations: 3.938 kB / 0.9352 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002392/0.2107, allocations: 0.5861 MB / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.2108, allocations: 3.938 kB / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.2108, allocations: 61.16 kB / 0.9358 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.2109, allocations: 81.02 kB / 0.9359 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.2109, allocations: 4.125 kB / 0.9359 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.2109, allocations: 4 kB / 0.9359 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.211, allocations: 7.875 kB / 0.9359 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.211, allocations: 3.938 kB / 0.9359 GB, free: 19.47 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.211, allocations: 79.28 kB / 0.936 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.211, allocations: 4 kB / 0.936 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002391/0.2113, allocations: 7.984 kB / 0.936 GB, free: 19.38 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.0001878/0.2115, allocations: 119.3 kB / 0.9361 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.2117, allocations: 15.98 kB / 0.9361 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2117, allocations: 0 / 0.9361 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.2119, allocations: 19.98 kB / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.2121, allocations: 3.938 kB / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.2124, allocations: 111.3 kB / 0.9363 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.2125, allocations: 0.6731 MB / 0.9369 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.2126, allocations: 4 kB / 0.9369 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.2126, allocations: 7.438 kB / 0.9369 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.2126, allocations: 0 / 0.9369 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of Templates: time 0.002939/0.2156, allocations: 417.6 kB / 0.9373 GB, free: 17.96 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)