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_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.753/1.753, 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.0009802/0.0009807, allocations: 179.2 kB / 375.4 MB, free: 5.109 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.324/1.324, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.000828/0.000828, allocations: 95.16 kB / 0.7699 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5987, allocations: 118.1 MB / 1.011 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001097/0.5998, allocations: 0.9725 MB / 1.012 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.6005, allocations: 0.5386 MB / 1.012 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.6006, allocations: 1.562 kB / 1.012 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.6006, allocations: 0 / 1.012 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.6006, allocations: 3.062 kB / 1.012 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.601, allocations: 115 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.601, allocations: 16.81 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.6011, allocations: 0 / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.6011, allocations: 6.781 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.6011, allocations: 6.688 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.6012, allocations: 0 / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.6015, allocations: 341.4 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.046e-06/0.6016, allocations: 0 / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.6016, allocations: 31.2 kB / 1.013 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.6017, allocations: 89.52 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6017, allocations: 0 / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6018, allocations: 3.906 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.6018, allocations: 1.031 kB / 1.013 GB, free: 57.22 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.0002943/0.6021, allocations: 344.2 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.6021, allocations: 10.69 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.6021, allocations: 6.531 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.136e-05/0.6022, allocations: 167.2 kB / 1.013 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6022, allocations: 0.9375 kB / 1.013 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.6023, allocations: 384 / 1.013 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.514e-05/0.6023, allocations: 34.02 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6023, allocations: 0.8125 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.6024, allocations: 8.844 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.6024, allocations: 1.469 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.441e-05/0.6024, allocations: 11.09 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.6025, allocations: 146.7 kB / 1.014 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.28e-05/0.6026, allocations: 25.78 kB / 1.014 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.6026, allocations: 11.11 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.6026, allocations: 0.625 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.6026, allocations: 35.69 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6026, allocations: 0 / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001092/0.6028, allocations: 47.2 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.6028, allocations: 52.44 kB / 1.014 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.149e-05/0.6028, allocations: 104.6 kB / 1.014 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.6028, allocations: 26.2 kB / 1.014 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.393e-05/0.6029, allocations: 81.45 kB / 1.014 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.6029, allocations: 10.84 kB / 1.014 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.6029, allocations: 0 / 1.014 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.6029, allocations: 311.4 kB / 1.014 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.603, allocations: 3.438 kB / 1.014 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.603, allocations: 5.594 kB / 1.014 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.603, allocations: 15.16 kB / 1.014 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.603, allocations: 0 / 1.014 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.544e-05/0.6031, allocations: 42.8 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.6031, allocations: 5.781 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.6031, allocations: 3.938 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6031, allocations: 0.875 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.6032, allocations: 11.47 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002161/0.6035, allocations: 0.5858 MB / 1.015 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.6035, allocations: 0 / 1.015 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.6035, allocations: 3.812 kB / 1.015 GB, free: 55.09 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.785e-05/0.6036, allocations: 110.7 kB / 1.015 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.6036, allocations: 2.938 kB / 1.015 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/0.6037, allocations: 49.78 kB / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6037, allocations: 3.438 kB / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.6037, allocations: 1.906 kB / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6037, allocations: 0 / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.963e-05/0.6037, allocations: 158.9 kB / 1.015 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6038, allocations: 0 / 1.015 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.6038, allocations: 12.09 kB / 1.015 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.6038, allocations: 3.938 kB / 1.015 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.6038, allocations: 3 kB / 1.015 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001588/0.604, allocations: 0.5854 MB / 1.016 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.604, allocations: 3.938 kB / 1.016 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.75e-05/0.6041, allocations: 64.23 kB / 1.016 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.6041, allocations: 77.11 kB / 1.016 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.6041, allocations: 3.938 kB / 1.016 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.6041, allocations: 8.688 kB / 1.016 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.6042, allocations: 4.875 kB / 1.016 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.6042, allocations: 4.547 kB / 1.016 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.69e-05/0.6042, allocations: 79.2 kB / 1.016 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6042, allocations: 2.062 kB / 1.016 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001774/0.6044, allocations: 9.562 kB / 1.016 GB, free: 53.9 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.0001197/0.6045, allocations: 118.4 kB / 1.016 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.6046, allocations: 23.03 kB / 1.016 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6047, allocations: 1 kB / 1.016 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.6047, allocations: 12.52 kB / 1.016 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.6049, allocations: 3.594 kB / 1.016 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.6051, allocations: 116.5 kB / 1.016 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.798e-05/0.6052, allocations: 0.6757 MB / 1.017 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.989e-05/0.6053, allocations: 1.406 kB / 1.017 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.024e-05/0.6053, allocations: 10.53 kB / 1.017 GB, free: 53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.6053, allocations: 0 / 1.017 GB, free: 53 MB / 0.7136 GB Notification: Performance of Templates: time 0.002033/0.6073, allocations: 415.5 kB / 1.017 GB, free: 52.99 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)