Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.53/2.53, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.00161/0.00161, allocations: 176.7 kB / 370.8 MB, free: 10.86 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.254/2.254, 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.001203/0.001202, allocations: 97.05 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004933, allocations: 17 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2441, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00137/0.2455, allocations: 1.003 MB / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.2462, allocations: 347.2 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.2463, allocations: 0 / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.2463, allocations: 7.922 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.2463, allocations: 3.984 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.2468, allocations: 83.75 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.2469, allocations: 19.98 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.247, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.247, allocations: 7.984 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.141e-05/0.2471, allocations: 23.91 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2471, allocations: 0 / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.2475, allocations: 183.7 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.2475, allocations: 0 / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.2476, allocations: 37.69 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.2477, allocations: 52.16 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2477, allocations: 4 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2478, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2478, allocations: 0 / 0.9799 GB, free: 26.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003601/0.2481, allocations: 351.2 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2482, allocations: 12.02 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.2482, allocations: 0 / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/0.2483, allocations: 171 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2484, allocations: 4 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.2484, allocations: 4 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2485, allocations: 53.69 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2486, allocations: 4 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2486, allocations: 3.938 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2486, allocations: 0 / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.2487, allocations: 23.92 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.2489, allocations: 173.5 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.249, allocations: 58.55 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.249, allocations: 4 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.2491, allocations: 34.56 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.2491, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001342/0.2504, allocations: 0.585 MB / 0.9813 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.2505, allocations: 51.41 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.2505, allocations: 93.86 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2506, allocations: 33.64 kB / 0.9815 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.2506, allocations: 80.14 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.992e-05/0.2506, allocations: 39.39 kB / 0.9816 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.2507, allocations: 4 kB / 0.9816 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.2507, allocations: 322.8 kB / 0.9819 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.2508, allocations: 28.06 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.4e-05/0.2509, allocations: 19.98 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.251, allocations: 25 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.251, allocations: 0 / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001987/0.2512, allocations: 94.09 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2512, allocations: 11.98 kB / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2512, allocations: 0 / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2513, allocations: 0 / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.2515, allocations: 23.94 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2515, allocations: 4 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.2515, allocations: 4 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2515, allocations: 7.984 kB / 0.9821 GB, free: 24.02 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.313e-05/0.2516, allocations: 113.8 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.2517, allocations: 4 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.2519, allocations: 105.6 kB / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2519, allocations: 4 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2519, allocations: 0 / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.252, allocations: 3.984 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.2524, allocations: 350.5 kB / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2524, allocations: 3.984 kB / 0.9827 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.2526, allocations: 27.92 kB / 0.9827 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2526, allocations: 0 / 0.9827 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2527, allocations: 4 kB / 0.9827 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2527, allocations: 0 / 0.9827 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2527, allocations: 0 / 0.9827 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.253, allocations: 233.7 kB / 0.9829 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.253, allocations: 85.02 kB / 0.983 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.253, allocations: 4.031 kB / 0.983 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.2532, allocations: 0 / 0.983 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.2532, allocations: 11.98 kB / 0.983 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.2533, allocations: 4 kB / 0.983 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.373e-05/0.2533, allocations: 75.28 kB / 0.9831 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2533, allocations: 0 / 0.9831 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003639/0.2537, allocations: 35.98 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002389/0.2539, allocations: 135.3 kB / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.2541, allocations: 67.91 kB / 0.9833 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2541, allocations: 0 / 0.9833 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.2542, allocations: 27.94 kB / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.2544, allocations: 15.94 kB / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006817/0.2551, allocations: 324.7 kB / 0.9837 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2552, allocations: 0.6887 MB / 0.9844 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.249e-05/0.2553, allocations: 11.98 kB / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.2554, allocations: 15.38 kB / 0.9844 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of SimCode: time 7.22e-07/0.2554, allocations: 0 / 0.9844 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.004137/0.2595, allocations: 0.884 MB / 0.9853 GB, free: 20.68 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)