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.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.728/1.728, allocations: 291.7 MB / 306.8 MB, free: 7.695 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.001627/0.001627, allocations: 193.5 kB / 375.4 MB, free: 5.121 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.342/1.342, 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.0007933/0.0007934, allocations: 97.62 kB / 0.7699 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 8.656 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.5824, allocations: 118.1 MB / 1.011 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001324/0.5838, allocations: 1.008 MB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.5846, allocations: 0.5415 MB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.5846, allocations: 0 / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.5847, allocations: 5.656 kB / 1.012 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.5847, allocations: 7.125 kB / 1.012 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.5851, allocations: 120.4 kB / 1.013 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.222e-05/0.5852, allocations: 30.33 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.5852, allocations: 1.594 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.5852, allocations: 4.141 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.5853, allocations: 12.89 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.5853, allocations: 0 / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.5857, allocations: 339.2 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.5857, allocations: 6.203 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.5857, allocations: 28.42 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.5859, allocations: 97.94 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5859, allocations: 1.531 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5859, allocations: 0 / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5859, allocations: 0 / 1.013 GB, free: 57.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002981/0.5862, allocations: 354.4 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.5863, allocations: 9.656 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.5863, allocations: 5.469 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.5864, allocations: 174.8 kB / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.5864, allocations: 384 / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.5864, allocations: 384 / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.995e-05/0.5865, allocations: 48.27 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.5865, allocations: 192 / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.5865, allocations: 3.938 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5865, allocations: 0 / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.5866, allocations: 13.12 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.5868, allocations: 253.1 kB / 1.014 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.587, allocations: 55.06 kB / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.5871, allocations: 16.73 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.5871, allocations: 3.938 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.5871, allocations: 38.12 kB / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5871, allocations: 0 / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001469/0.5873, allocations: 57.23 kB / 1.014 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.5873, allocations: 55.34 kB / 1.014 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/0.5873, allocations: 95.7 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.5874, allocations: 28.08 kB / 1.014 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.5874, allocations: 84.05 kB / 1.014 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.5874, allocations: 18.14 kB / 1.014 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.5874, allocations: 1.688 kB / 1.014 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.5875, allocations: 310.8 kB / 1.015 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.5875, allocations: 17.12 kB / 1.015 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.5875, allocations: 20.06 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.5876, allocations: 26.08 kB / 1.015 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5876, allocations: 0.625 kB / 1.015 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.29e-05/0.5876, allocations: 65.53 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5877, allocations: 6.375 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5877, allocations: 1.5 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5877, allocations: 1.062 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.5877, allocations: 11.88 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5877, allocations: 0.5625 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.5878, allocations: 3.938 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.5878, allocations: 4.625 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.5878, allocations: 116.5 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.5879, allocations: 0 / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.588, allocations: 65.02 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.588, allocations: 2.844 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.588, allocations: 2.656 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.588, allocations: 0 / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.5881, allocations: 170.3 kB / 1.015 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5881, allocations: 0 / 1.015 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.5882, allocations: 5.906 kB / 1.015 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.5882, allocations: 1.031 kB / 1.015 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.5882, allocations: 0.8438 kB / 1.015 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5882, allocations: 3.938 kB / 1.015 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5882, allocations: 1.25 kB / 1.015 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.5883, allocations: 153.1 kB / 1.015 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.5883, allocations: 81.86 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.5883, allocations: 5.062 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.5884, allocations: 0.75 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.5884, allocations: 3.562 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5884, allocations: 2.031 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.741e-05/0.5884, allocations: 82.81 kB / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5884, allocations: 0 / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002262/0.5887, allocations: 14.47 kB / 1.015 GB, free: 55.14 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001399/0.5888, allocations: 127.7 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.673e-05/0.5889, allocations: 27.98 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5889, allocations: 0 / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.5889, allocations: 11.88 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.5891, allocations: 8.406 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.5894, allocations: 132.5 kB / 1.016 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.5895, allocations: 0.6757 MB / 1.016 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.5895, allocations: 10.88 kB / 1.016 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.5895, allocations: 8.562 kB / 1.016 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/0.5895, allocations: 0.7812 kB / 1.016 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.002091/0.5916, allocations: 0.4935 MB / 1.017 GB, free: 54.2 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)