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_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.619/2.619, allocations: 287.5 MB / 302.4 MB, free: 8.375 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.001324/0.001324, allocations: 171.2 kB / 371 MB, free: 10.85 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.114/2.114, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009108/0.0009107, allocations: 99.88 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 12.75 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2078, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001376/0.2093, allocations: 0.9908 MB / 0.9793 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2103, allocations: 0.5581 MB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.2104, allocations: 0 / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.2104, allocations: 0 / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.2104, allocations: 7.984 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.211, allocations: 121.7 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.2111, allocations: 19.88 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.2112, allocations: 7.984 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.2112, allocations: 8 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.2113, allocations: 11.86 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2113, allocations: 7.938 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006346/0.2119, allocations: 331.3 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.212, allocations: 11.98 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.212, allocations: 29.7 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.2122, allocations: 88.11 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2122, allocations: 0 / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2122, allocations: 0 / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2123, allocations: 0 / 0.9805 GB, free: 26.15 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.000338/0.2126, allocations: 359.2 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2126, allocations: 12.02 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.2127, allocations: 7.984 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.2128, allocations: 167 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2128, allocations: 0 / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2128, allocations: 4 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.2129, allocations: 41.62 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.213, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.213, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.213, allocations: 4 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.2131, allocations: 8 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.2132, allocations: 161.6 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.2134, allocations: 50.61 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.2135, allocations: 16.94 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2135, allocations: 11.92 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.2136, allocations: 30.56 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.2136, allocations: 3.938 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006387/0.2142, allocations: 310.2 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.2142, allocations: 55.39 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.972e-05/0.2143, allocations: 93.86 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2143, allocations: 29.7 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.812e-05/0.2144, allocations: 84.14 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.2144, allocations: 15.7 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.2144, allocations: 4 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.2145, allocations: 318.8 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.331e-05/0.2145, allocations: 8 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.2146, allocations: 19.98 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.2146, allocations: 12 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2146, allocations: 0 / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001547/0.2148, allocations: 69.52 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2148, allocations: 8 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2148, allocations: 3.938 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2148, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.2149, allocations: 8 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.215, allocations: 4 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.215, allocations: 4 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.215, allocations: 4 kB / 0.9823 GB, free: 24 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 6.016e-05/0.2151, allocations: 117.8 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.2151, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.2153, allocations: 77.81 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2153, allocations: 4 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2153, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2153, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.2156, allocations: 319.4 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2156, allocations: 0 / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2157, allocations: 8 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2158, allocations: 4 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2158, allocations: 0 / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2158, allocations: 192 / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2158, allocations: 0 / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.216, allocations: 196.2 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.216, allocations: 81.11 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2161, allocations: 11.95 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.2162, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.2162, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.2162, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.65e-05/0.2163, allocations: 83.28 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2163, allocations: 0 / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003071/0.2166, allocations: 27.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 (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 (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.0001799/0.2168, allocations: 119.3 kB / 0.9833 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.2169, allocations: 35.92 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2169, allocations: 0 / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.217, allocations: 12 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.0002653/0.2172, allocations: 7.953 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.2177, allocations: 226.5 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2178, allocations: 0.6731 MB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.2179, allocations: 19.88 kB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.2179, allocations: 15.44 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.2179, allocations: 0 / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.003234/0.2212, allocations: 0.5968 MB / 0.9849 GB, free: 21.24 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)