Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.596/1.596, allocations: 287.5 MB / 302.6 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000975/0.0009753, allocations: 180.9 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 0.6299 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000784/0.000784, allocations: 80.25 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003564, allocations: 14.34 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001117/0.1944, allocations: 1.002 MB / 0.9797 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007188/0.1952, allocations: 0.5416 MB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.1952, allocations: 4 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.1952, allocations: 0 / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.1953, allocations: 3.938 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.1957, allocations: 125.6 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.1958, allocations: 15.92 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.1958, allocations: 0 / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.94e-05/0.1958, allocations: 11.94 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.1959, allocations: 7.984 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1959, allocations: 11.94 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.1963, allocations: 343.2 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.1963, allocations: 0 / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.1963, allocations: 29.7 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1965, allocations: 88.11 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1965, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.205e-06/0.1965, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.1965, allocations: 3.938 kB / 0.9808 GB, free: 26.02 MB / 0.6198 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.0003112/0.1968, allocations: 359.5 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1969, allocations: 12.03 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.1969, allocations: 4.844 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/0.197, allocations: 164.4 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.197, allocations: 384 / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.197, allocations: 8.375 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.1971, allocations: 38.25 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1972, allocations: 192 / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1972, allocations: 3.938 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1972, allocations: 4 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.1972, allocations: 15.98 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.1975, allocations: 252.9 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1977, allocations: 50.56 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.1977, allocations: 12.86 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1977, allocations: 7.984 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.1978, allocations: 38.56 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.1978, allocations: 3.984 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001546/0.1979, allocations: 61.56 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.1979, allocations: 55.41 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.198, allocations: 93.86 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.198, allocations: 25.7 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.198, allocations: 91.98 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.909e-06/0.1981, allocations: 11.8 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.1981, allocations: 4 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.227e-05/0.1981, allocations: 318.8 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.1981, allocations: 4 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.1982, allocations: 21.7 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.1982, allocations: 33.66 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1982, allocations: 0 / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.319e-05/0.1983, allocations: 57.62 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1983, allocations: 8.031 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1983, allocations: 0 / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1983, allocations: 0 / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.1984, allocations: 15.92 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1984, allocations: 3.938 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.1984, allocations: 4 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1984, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 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.672e-05/0.1985, allocations: 113.8 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.1985, allocations: 4 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.1986, allocations: 69.08 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1987, allocations: 7.922 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1987, allocations: 0 / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1987, allocations: 0 / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.1988, allocations: 161.6 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1988, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.1988, allocations: 8 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1988, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1988, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1989, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1989, allocations: 4 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.781e-05/0.1989, allocations: 147.5 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.199, allocations: 85.05 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.199, allocations: 4.516 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.199, allocations: 7.922 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.1991, allocations: 0 / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1991, allocations: 4 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.663e-05/0.1991, allocations: 87.2 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1991, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002266/0.1993, allocations: 20 kB / 0.9832 GB, free: 23.23 MB / 0.6198 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.0001467/0.1995, allocations: 119.2 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.746e-05/0.1996, allocations: 20 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1996, allocations: 0 / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.705e-05/0.1996, allocations: 15.92 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.1998, allocations: 7.938 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.2001, allocations: 134.4 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.2002, allocations: 0.6809 MB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.2002, allocations: 0 / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.2002, allocations: 11.44 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2002, allocations: 4 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.002156/0.2024, allocations: 493.8 kB / 0.9846 GB, free: 21.7 MB / 0.6198 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)