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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.592/2.592, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001398/0.001398, allocations: 176.5 kB / 371 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.139/2.139, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0008869/0.0008871, allocations: 90.36 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006935/0.0006942, allocations: 15.69 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2313, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002054/0.2334, allocations: 0.9976 MB / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.2352, allocations: 0.558 MB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.2353, allocations: 0 / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.2353, allocations: 4 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.79e-05/0.2354, allocations: 4 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.2366, allocations: 127.5 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.489e-05/0.2367, allocations: 15.92 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.2368, allocations: 0 / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/0.2369, allocations: 11.98 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.237, allocations: 11.88 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.237, allocations: 0 / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.2382, allocations: 335.3 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.2383, allocations: 12 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.2383, allocations: 25.7 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.2387, allocations: 96.09 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.2388, allocations: 0 / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.667e-06/0.2388, allocations: 3.938 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2388, allocations: 0 / 0.9805 GB, free: 26.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005778/0.2394, allocations: 355.2 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.2395, allocations: 16.02 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.2396, allocations: 0 / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2397, allocations: 171 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.2398, allocations: 7.938 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.2398, allocations: 4 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.24, allocations: 37.69 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.24, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2401, allocations: 4 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-06/0.2401, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.2402, allocations: 8 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.2405, allocations: 157.6 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.2409, allocations: 50.55 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.2409, allocations: 20.94 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.241, allocations: 0 / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.241, allocations: 38.5 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.675e-06/0.2411, allocations: 0 / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.001063/0.2421, allocations: 310.5 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.2422, allocations: 55.39 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.2423, allocations: 93.86 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2423, allocations: 25.7 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.2424, allocations: 84.14 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.2424, allocations: 23.7 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.2424, allocations: 4 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.2425, allocations: 314.8 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.2426, allocations: 16 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/0.2426, allocations: 23.91 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.2427, allocations: 8.156 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2427, allocations: 0 / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002107/0.2429, allocations: 69.58 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.243, allocations: 4 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.243, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2431, allocations: 4 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2432, allocations: 8 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.2433, allocations: 0 / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.2433, allocations: 4 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2434, allocations: 11.94 kB / 0.9823 GB, free: 23.99 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 (7): * Single equations (assignments): 7 * 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 0.000113/0.2435, allocations: 113.7 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2436, allocations: 7.984 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.2439, allocations: 69.66 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.2439, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.2439, allocations: 128 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.244, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.2445, allocations: 323.4 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2445, allocations: 4 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2447, allocations: 8 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.2447, allocations: 0 / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2447, allocations: 4 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2448, allocations: 0 / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.2448, allocations: 0 / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.2451, allocations: 188.2 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.2452, allocations: 85.08 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2452, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2454, allocations: 7.984 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.2454, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.2455, allocations: 4 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.2455, allocations: 75.28 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/0.2455, allocations: 0 / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005625/0.2461, allocations: 31.92 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002663/0.2464, allocations: 123.3 kB / 0.9833 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.2466, allocations: 35.92 kB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.2466, allocations: 0 / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.2467, allocations: 16 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2469, allocations: 11.89 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.2474, allocations: 214.3 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2476, allocations: 0.6809 MB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.73e-05/0.2477, allocations: 19.83 kB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.2477, allocations: 11.44 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.342e-06/0.2477, allocations: 0 / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.003797/0.2515, allocations: 0.6195 MB / 0.9849 GB, free: 21.22 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)