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.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.376/2.376, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.0013/0.0013, allocations: 188.5 kB / 329.5 MB, free: 1.172 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.383/2.383, allocations: 225.6 MB / 0.6001 GB, free: 0.5195 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.001403/0.001403, allocations: 113.1 kB / 0.7074 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004803, allocations: 16.59 kB / 0.8242 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 109.1 MB / 0.9308 GB, free: 24.92 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001876/0.2205, allocations: 1.005 MB / 0.9317 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.2221, allocations: 0.5494 MB / 0.9323 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.2222, allocations: 0 / 0.9323 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.2222, allocations: 3.984 kB / 0.9323 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.2223, allocations: 3.938 kB / 0.9323 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.2231, allocations: 123.5 kB / 0.9324 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.2232, allocations: 19.88 kB / 0.9324 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.869e-05/0.2233, allocations: 3.984 kB / 0.9324 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.759e-05/0.2233, allocations: 7.984 kB / 0.9324 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.2234, allocations: 4 kB / 0.9324 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.2234, allocations: 4 kB / 0.9324 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009857/0.2244, allocations: 335.3 kB / 0.9328 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.2245, allocations: 7.922 kB / 0.9328 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.2246, allocations: 29.7 kB / 0.9328 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.2249, allocations: 96.11 kB / 0.9329 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2249, allocations: 0 / 0.9329 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2249, allocations: 4 kB / 0.9329 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2249, allocations: 0 / 0.9329 GB, free: 22.72 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005023/0.2255, allocations: 355.4 kB / 0.9332 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2255, allocations: 8.031 kB / 0.9332 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.2256, allocations: 4.922 kB / 0.9332 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2257, allocations: 168.4 kB / 0.9334 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2257, allocations: 4.375 kB / 0.9334 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2258, allocations: 384 / 0.9334 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2259, allocations: 46.25 kB / 0.9335 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.226, allocations: 192 / 0.9335 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.226, allocations: 7.875 kB / 0.9335 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.226, allocations: 4 kB / 0.9335 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2262, allocations: 15.98 kB / 0.9335 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.2266, allocations: 252.8 kB / 0.9337 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.2269, allocations: 54.62 kB / 0.9338 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/0.227, allocations: 12.86 kB / 0.9338 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.2271, allocations: 4 kB / 0.9338 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2271, allocations: 38.48 kB / 0.9338 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 3.366e-06/0.2271, allocations: 0 / 0.9338 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002889/0.2274, allocations: 53.69 kB / 0.9339 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.2275, allocations: 55.41 kB / 0.9339 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.2276, allocations: 101.8 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2276, allocations: 29.7 kB / 0.9341 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.2277, allocations: 84.08 kB / 0.9341 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2277, allocations: 11.75 kB / 0.9341 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.2277, allocations: 0 / 0.9341 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.2278, allocations: 322.8 kB / 0.9345 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.2279, allocations: 4 kB / 0.9345 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-05/0.228, allocations: 21.66 kB / 0.9345 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.412e-05/0.228, allocations: 16 kB / 0.9345 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2281, allocations: 3.984 kB / 0.9345 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001647/0.2282, allocations: 49.64 kB / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.2283, allocations: 7.984 kB / 0.9346 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2283, allocations: 4 kB / 0.9346 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.2284, allocations: 0 / 0.9346 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2285, allocations: 12.06 kB / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2285, allocations: 0 / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.2286, allocations: 11.91 kB / 0.9346 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2286, allocations: 4 kB / 0.9346 GB, free: 20.76 MB / 0.5886 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 0.0001233/0.2288, allocations: 115.1 kB / 0.9347 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.2289, allocations: 0 / 0.9347 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.2293, allocations: 65.17 kB / 0.9348 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2293, allocations: 0 / 0.9348 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.2294, allocations: 0 / 0.9348 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2294, allocations: 7.938 kB / 0.9348 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.2298, allocations: 157.6 kB / 0.9349 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2298, allocations: 0 / 0.9349 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.2299, allocations: 8 kB / 0.9349 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.2299, allocations: 4 kB / 0.9349 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.23, allocations: 3.938 kB / 0.9349 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.23, allocations: 0 / 0.9349 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.23, allocations: 3.984 kB / 0.9349 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.2303, allocations: 147.5 kB / 0.9351 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.2304, allocations: 81.02 kB / 0.9351 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.2305, allocations: 0 / 0.9351 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2307, allocations: 4 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2308, allocations: 4.516 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.2308, allocations: 0 / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.2309, allocations: 87.25 kB / 0.9352 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2309, allocations: 3.938 kB / 0.9352 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003919/0.2313, allocations: 23.94 kB / 0.9353 GB, free: 19.95 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 (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.0002149/0.2315, allocations: 125.6 kB / 0.9354 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.2316, allocations: 27.98 kB / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2317, allocations: 0 / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.2317, allocations: 15.94 kB / 0.9354 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.232, allocations: 7.875 kB / 0.9354 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.2323, allocations: 124.6 kB / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2324, allocations: 0.6809 MB / 0.9362 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.427e-05/0.2325, allocations: 8.047 kB / 0.9362 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.2325, allocations: 11.44 kB / 0.9362 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of SimCode: time 9.91e-07/0.2326, allocations: 0 / 0.9362 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of Templates: time 0.003125/0.2357, allocations: 499.9 kB / 0.9367 GB, free: 18.41 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)