Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.869/2.869, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001534/0.001534, allocations: 179.7 kB / 370.8 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 2.323/2.323, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001201/0.001201, allocations: 97.77 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 12.34 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2262, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00161/0.2279, allocations: 1.171 MB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007044/0.2286, allocations: 344.1 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.2287, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.2287, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.2287, allocations: 15.92 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.2292, allocations: 77.14 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.2293, allocations: 35.95 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.2293, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.2294, allocations: 27.91 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.56e-05/0.2295, allocations: 23.86 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2295, allocations: 0 / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.2298, allocations: 183.7 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.2299, allocations: 11.98 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.2299, allocations: 37.64 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2301, allocations: 72.11 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2301, allocations: 0 / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2301, allocations: 4 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2301, allocations: 0 / 0.9801 GB, free: 26.38 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.0006373/0.2308, allocations: 375.2 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2308, allocations: 12.02 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.2309, allocations: 7.906 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.367e-05/0.231, allocations: 167 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.231, allocations: 12 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.231, allocations: 4 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.2314, allocations: 89.52 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2314, allocations: 0 / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.2314, allocations: 4 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2315, allocations: 3.938 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.2319, allocations: 55.97 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.2325, allocations: 332.6 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.233, allocations: 90.53 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.233, allocations: 0 / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2331, allocations: 30.56 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.2331, allocations: 4 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.002301/0.2354, allocations: 0.6774 MB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2354, allocations: 51.41 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.2355, allocations: 105.8 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2355, allocations: 29.7 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.2356, allocations: 96.03 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.2356, allocations: 39.44 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.2356, allocations: 4 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.2357, allocations: 318.8 kB / 0.9825 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.2359, allocations: 31.97 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.2362, allocations: 40.86 kB / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.2364, allocations: 36.98 kB / 0.9826 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2364, allocations: 0 / 0.9826 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005165/0.2369, allocations: 125.6 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.237, allocations: 4 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.237, allocations: 4 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.237, allocations: 3.953 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.2373, allocations: 31.91 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2373, allocations: 4 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2374, allocations: 8 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2374, allocations: 4 kB / 0.9828 GB, free: 23.32 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 7.637e-05/0.2375, allocations: 117.8 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.2376, allocations: 3.984 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.2382, allocations: 145.4 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2382, allocations: 7.953 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.868e-05/0.2382, allocations: 4 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2382, allocations: 0 / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.239, allocations: 378.5 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.239, allocations: 4 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.2393, allocations: 39.86 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2393, allocations: 4.047 kB / 0.9835 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.2394, allocations: 7.938 kB / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2394, allocations: 0 / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2394, allocations: 4 kB / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.2402, allocations: 256.4 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.2402, allocations: 85 kB / 0.9838 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.2402, allocations: 3.953 kB / 0.9838 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2405, allocations: 12.03 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.2405, allocations: 7.984 kB / 0.9839 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2405, allocations: 4 kB / 0.9839 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.2406, allocations: 83.34 kB / 0.9839 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2406, allocations: 7.875 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003645/0.2409, allocations: 39.98 kB / 0.984 GB, free: 22.03 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.0002282/0.2412, allocations: 131.2 kB / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.2417, allocations: 95.94 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2417, allocations: 0 / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.242, allocations: 47.92 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2422, allocations: 7.984 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/0.2431, allocations: 377.4 kB / 0.9846 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.2433, allocations: 0.6965 MB / 0.9853 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.632e-05/0.2434, allocations: 16.66 kB / 0.9853 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.2434, allocations: 11.44 kB / 0.9853 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/0.2434, allocations: 0 / 0.9853 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.004328/0.2478, allocations: 1.068 MB / 0.9864 GB, free: 19.56 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)