Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.832/1.832, allocations: 288.3 MB / 303.2 MB, free: 8.277 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.001189/0.001189, allocations: 177.1 kB / 371.8 MB, free: 10.28 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.51/1.51, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.001037/0.001037, allocations: 96.47 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006473, allocations: 15.69 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2253, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001232/0.2266, allocations: 0.9924 MB / 0.9804 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.2273, allocations: 0.5248 MB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.378e-05/0.2273, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.2273, allocations: 3.938 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.2274, allocations: 4 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.2277, allocations: 121 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.145e-05/0.2278, allocations: 19.92 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.2278, allocations: 3.984 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.2279, allocations: 4 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.2279, allocations: 8 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.2279, allocations: 3.938 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.2283, allocations: 359.4 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.263e-06/0.2283, allocations: 8 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.2283, allocations: 25.7 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.2285, allocations: 92.11 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2285, allocations: 0 / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2285, allocations: 3.938 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2285, allocations: 0 / 0.9815 GB, free: 25.52 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.0003066/0.2288, allocations: 363.3 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2288, allocations: 12.02 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.2289, allocations: 3.906 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.908e-05/0.2289, allocations: 171 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.229, allocations: 0 / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.229, allocations: 0 / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.991e-05/0.2291, allocations: 45.69 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2291, allocations: 0 / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.2291, allocations: 0 / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2291, allocations: 4 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.2292, allocations: 23.92 kB / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.2294, allocations: 249 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.2296, allocations: 46.62 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2296, allocations: 0 / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.2296, allocations: 30.56 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2296, allocations: 4 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001413/0.2298, allocations: 61.72 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2298, allocations: 55.34 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.941e-05/0.2299, allocations: 98.17 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.2299, allocations: 25.7 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.2299, allocations: 91.98 kB / 0.9828 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.2299, allocations: 11.8 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.23, allocations: 4 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.23, allocations: 326.8 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.23, allocations: 4 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.2301, allocations: 17.72 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.2301, allocations: 16.02 kB / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2301, allocations: 0 / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.081e-05/0.2302, allocations: 57.62 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2302, allocations: 6.031 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2302, allocations: 4 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2302, allocations: 4.031 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.2303, allocations: 8 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2303, allocations: 3.984 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.2303, allocations: 0 / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2303, allocations: 4 kB / 0.9832 GB, free: 23.58 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 5.047e-05/0.2304, allocations: 117.7 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2304, allocations: 0 / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.2306, allocations: 69.08 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2306, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2306, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/0.2306, allocations: 4.125 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.2307, allocations: 161.6 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2307, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.2308, allocations: 4 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2308, allocations: 7.938 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2308, allocations: 0 / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2308, allocations: 7.922 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2308, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.2309, allocations: 151.5 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.2309, allocations: 81.05 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.2309, allocations: 4 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-05/0.231, allocations: 4 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.231, allocations: 3.938 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.231, allocations: 0 / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.268e-05/0.231, allocations: 83.27 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.231, allocations: 0 / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000229/0.2313, allocations: 20 kB / 0.9839 GB, free: 22.78 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.0001712/0.2315, allocations: 119.2 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.2316, allocations: 27.92 kB / 0.984 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2316, allocations: 0 / 0.984 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.2316, allocations: 8 kB / 0.984 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2317, allocations: 4 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.232, allocations: 144.5 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2321, allocations: 0.6814 MB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.2322, allocations: 0 / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.2322, allocations: 11.44 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2322, allocations: 0 / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.002201/0.2344, allocations: 496.8 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)