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 1.807/1.807, allocations: 287.5 MB / 302.6 MB, free: 8.348 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.001097/0.001097, allocations: 180.6 kB / 371.2 MB, free: 10.83 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.349/1.349, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007439/0.0007439, allocations: 98.72 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 15.25 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2064, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00112/0.2076, allocations: 0.9976 MB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007869/0.2084, allocations: 0.5495 MB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.2084, allocations: 0 / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.2085, allocations: 3.938 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.2085, allocations: 3.984 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.209, allocations: 125 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.209, allocations: 19.92 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.2091, allocations: 4 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.2091, allocations: 15.92 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.2092, allocations: 11.92 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2092, allocations: 0 / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.2096, allocations: 331.3 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.2096, allocations: 7.984 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.2096, allocations: 33.64 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.2098, allocations: 96.11 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2098, allocations: 0 / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2098, allocations: 0 / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2098, allocations: 0 / 0.9808 GB, free: 25.98 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.0003127/0.2101, allocations: 365.5 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2102, allocations: 12.03 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.2102, allocations: 0.9375 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.879e-05/0.2103, allocations: 160.4 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2103, allocations: 4.375 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.2103, allocations: 8.375 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/0.2104, allocations: 38.25 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2104, allocations: 192 / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2105, allocations: 7.938 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2105, allocations: 0 / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.2105, allocations: 11.92 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.2106, allocations: 157.7 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2108, allocations: 46.56 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.2108, allocations: 20.84 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2109, allocations: 0 / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.2109, allocations: 38.5 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.2109, allocations: 0 / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004852/0.2114, allocations: 318.1 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.2114, allocations: 55.41 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.849e-05/0.2115, allocations: 97.86 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.2115, allocations: 29.7 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.441e-05/0.2115, allocations: 80.14 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.2115, allocations: 15.8 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.2115, allocations: 4 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.2116, allocations: 310.8 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.2116, allocations: 15.98 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.2116, allocations: 8 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.2117, allocations: 32.86 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2117, allocations: 0 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.951e-05/0.2118, allocations: 77.67 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2118, allocations: 7.938 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2118, allocations: 80 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2118, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.2119, allocations: 15.98 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2119, allocations: 3.984 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.2119, allocations: 0 / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2119, allocations: 0 / 0.9827 GB, free: 23.82 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 5.303e-05/0.212, allocations: 121.8 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.212, allocations: 7.875 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.2121, allocations: 77.58 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2121, allocations: 0 / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2121, allocations: 0 / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2121, allocations: 0 / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2124, allocations: 311.4 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2124, allocations: 0 / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.2124, allocations: 20.02 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2125, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2125, allocations: 4 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2125, allocations: 4 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2125, allocations: 0 / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2126, allocations: 184.4 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.2127, allocations: 89.06 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2127, allocations: 4.062 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.2127, allocations: 0 / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.2128, allocations: 7.984 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2128, allocations: 4 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.2128, allocations: 79.8 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2128, allocations: 0 / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002122/0.213, allocations: 23.94 kB / 0.9836 GB, free: 22.79 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.0001338/0.2132, allocations: 123.2 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.2133, allocations: 35.92 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2133, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.2133, allocations: 16 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.2135, allocations: 13.75 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.2138, allocations: 221.8 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.2139, allocations: 0.6848 MB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.061e-05/0.214, allocations: 4 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.214, allocations: 11.44 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.214, allocations: 3.938 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.002289/0.2163, allocations: 0.6222 MB / 0.9853 GB, free: 21.03 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)