Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.0009261/0.0009262, allocations: 189.2 kB / 382.3 MB, free: 14.83 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.335/1.335, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.000746/0.000746, allocations: 95.08 kB / 0.7789 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 12 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/0.5747, allocations: 119.2 MB / 1.022 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001334/0.5761, allocations: 1.011 MB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.5771, allocations: 1.033 MB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.5772, allocations: 0 / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.5772, allocations: 0.6094 kB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.413e-05/0.5772, allocations: 2.172 kB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.5777, allocations: 124 kB / 1.024 GB, free: 56.08 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.5778, allocations: 30.47 kB / 1.024 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.5778, allocations: 0 / 1.024 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.5778, allocations: 4.219 kB / 1.024 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.5779, allocations: 15.94 kB / 1.024 GB, free: 56.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.5779, allocations: 0 / 1.024 GB, free: 56.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.5784, allocations: 335 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.5784, allocations: 6.031 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.5785, allocations: 35.75 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.5788, allocations: 146.2 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5788, allocations: 3.188 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5788, allocations: 3.938 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.5788, allocations: 0 / 1.025 GB, free: 55.9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003507/0.5791, allocations: 354.4 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5792, allocations: 10.12 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.5792, allocations: 6.703 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.977e-05/0.5793, allocations: 170.1 kB / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5793, allocations: 2.031 kB / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.5794, allocations: 3.781 kB / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.5795, allocations: 46.08 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5795, allocations: 192 / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5795, allocations: 3.938 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5795, allocations: 0.9688 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.5796, allocations: 19.48 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.5798, allocations: 248 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.58, allocations: 51.03 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.5801, allocations: 20.14 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.5801, allocations: 1.828 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.5801, allocations: 31.81 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5801, allocations: 0 / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001598/0.5803, allocations: 60.03 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.5803, allocations: 55.95 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.5804, allocations: 99.89 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.5804, allocations: 26.86 kB / 1.026 GB, free: 54.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.5804, allocations: 86.88 kB / 1.026 GB, free: 54.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.5805, allocations: 21.7 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.5805, allocations: 1 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.5805, allocations: 313.6 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.5806, allocations: 8.562 kB / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.5806, allocations: 19.91 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.5806, allocations: 33.44 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5806, allocations: 0 / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.493e-05/0.5807, allocations: 61.55 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5808, allocations: 10.97 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5808, allocations: 0 / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5808, allocations: 6.062 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.69e-05/0.5808, allocations: 8.469 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.5809, allocations: 1.609 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.5809, allocations: 5.438 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.5809, allocations: 2.219 kB / 1.027 GB, free: 54.16 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.581, allocations: 116.1 kB / 1.027 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.581, allocations: 1.984 kB / 1.027 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.5811, allocations: 69.48 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5811, allocations: 2.859 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5811, allocations: 3 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5811, allocations: 1.969 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.5813, allocations: 159.9 kB / 1.027 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5813, allocations: 0 / 1.027 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.5813, allocations: 11.06 kB / 1.027 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5813, allocations: 4.125 kB / 1.027 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.5813, allocations: 0.7812 kB / 1.027 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.5813, allocations: 0 / 1.027 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5813, allocations: 1.469 kB / 1.027 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.792e-05/0.5814, allocations: 150 kB / 1.027 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.5815, allocations: 79.72 kB / 1.027 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.5815, allocations: 1.953 kB / 1.027 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.5815, allocations: 0 / 1.027 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.5816, allocations: 2.812 kB / 1.027 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.5816, allocations: 5.656 kB / 1.027 GB, free: 53.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.056e-05/0.5816, allocations: 86.19 kB / 1.027 GB, free: 53.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.12e-07/0.5816, allocations: 0 / 1.027 GB, free: 53.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002303/0.5818, allocations: 20.56 kB / 1.027 GB, free: 53.45 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.582, allocations: 130.7 kB / 1.027 GB, free: 53.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.411e-05/0.5821, allocations: 22.7 kB / 1.027 GB, free: 53.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5821, allocations: 0 / 1.027 GB, free: 53.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.5821, allocations: 17.31 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.5823, allocations: 6.281 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.5826, allocations: 138.1 kB / 1.028 GB, free: 53.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.5827, allocations: 0.6778 MB / 1.028 GB, free: 52.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.5828, allocations: 4.125 kB / 1.028 GB, free: 52.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.5828, allocations: 10.25 kB / 1.028 GB, free: 52.5 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.5828, allocations: 1.531 kB / 1.028 GB, free: 52.5 MB / 0.698 GB Notification: Performance of Templates: time 0.002314/0.5851, allocations: 0.4945 MB / 1.029 GB, free: 52.44 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)