Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.597/1.597, allocations: 288.4 MB / 303.7 MB, free: 8.137 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.001024/0.001024, allocations: 173.3 kB / 372.3 MB, free: 10.11 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.422/1.422, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007769/0.000777, allocations: 98.23 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003951, allocations: 15.06 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2009, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001419/0.2024, allocations: 1.187 MB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.2031, allocations: 0.5775 MB / 0.9819 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.2032, allocations: 4 kB / 0.9819 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.2032, allocations: 0 / 0.9819 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.2032, allocations: 11.92 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.2037, allocations: 130.2 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.2037, allocations: 51.59 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.2038, allocations: 4 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.2039, allocations: 27.91 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.2039, allocations: 23.92 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2039, allocations: 4 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.2043, allocations: 339.3 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.2043, allocations: 11.98 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.2043, allocations: 53.52 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2045, allocations: 116 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2045, allocations: 0 / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2045, allocations: 4 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2045, allocations: 3.938 kB / 0.9826 GB, free: 24.79 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004687/0.205, allocations: 387.4 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2051, allocations: 12.03 kB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.2051, allocations: 8.844 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.464e-05/0.2052, allocations: 172.3 kB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2052, allocations: 8.375 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.2053, allocations: 4.375 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2055, allocations: 82.22 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2055, allocations: 192 / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2055, allocations: 7.938 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2055, allocations: 4 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.2058, allocations: 55.95 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.2062, allocations: 332.6 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.2065, allocations: 90.53 kB / 0.9837 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2066, allocations: 32.84 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2066, allocations: 3.984 kB / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.2067, allocations: 34.5 kB / 0.9838 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2067, allocations: 4 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001384/0.2081, allocations: 0.6732 MB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.2081, allocations: 55.41 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.2081, allocations: 101.8 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.2082, allocations: 29.7 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.2082, allocations: 92.03 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.2082, allocations: 43.44 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.2082, allocations: 0 / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.2083, allocations: 318.8 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.2084, allocations: 35.97 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.2085, allocations: 35.98 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.2087, allocations: 79.7 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2088, allocations: 3.938 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002719/0.209, allocations: 129.5 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2091, allocations: 5.406 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2091, allocations: 0 / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2091, allocations: 4 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2092, allocations: 27.97 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2092, allocations: 320 / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.2093, allocations: 19.94 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.2093, allocations: 4 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.35e-05/0.2094, allocations: 117.8 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.2094, allocations: 4 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.2098, allocations: 149.5 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2098, allocations: 4 kB / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2098, allocations: 0 / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2098, allocations: 3.938 kB / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.2103, allocations: 386.6 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2103, allocations: 4 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.2104, allocations: 27.98 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2104, allocations: 0 / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2105, allocations: 11.94 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2105, allocations: 4 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2105, allocations: 0 / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.2109, allocations: 271.4 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.2109, allocations: 85.12 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2109, allocations: 3.938 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.211, allocations: 8 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.2111, allocations: 16.05 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2111, allocations: 0 / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.2111, allocations: 79.28 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2111, allocations: 0 / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002462/0.2114, allocations: 39.98 kB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001584/0.2115, allocations: 131.2 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.2118, allocations: 103.8 kB / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2118, allocations: 0 / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.212, allocations: 51.92 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.2122, allocations: 9.734 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.2128, allocations: 381.5 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.2129, allocations: 0.6926 MB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.808e-05/0.213, allocations: 12.61 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.213, allocations: 19.36 kB / 0.9879 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.213, allocations: 4 kB / 0.9879 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.003006/0.216, allocations: 1.073 MB / 0.989 GB, free: 17.86 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)