Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00611/0.00611, allocations: 102.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 192.2 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 82.06 kB / 0.7258 GB, free: 9.145 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2093, allocations: 104.7 MB / 0.828 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00224/0.2116, allocations: 1.28 MB / 0.8293 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.2125, allocations: 0.5959 MB / 0.8299 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.2126, allocations: 4 kB / 0.8299 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.2126, allocations: 7.922 kB / 0.8299 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.2127, allocations: 3.984 kB / 0.8299 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.2132, allocations: 146.5 kB / 0.83 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.845e-05/0.2132, allocations: 23.92 kB / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.2133, allocations: 0 / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.2133, allocations: 11.92 kB / 0.8301 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.2134, allocations: 11.98 kB / 0.8301 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.2134, allocations: 7.938 kB / 0.8301 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.2139, allocations: 335.3 kB / 0.8304 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.2139, allocations: 15.91 kB / 0.8304 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.2139, allocations: 4 kB / 0.8304 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2142, allocations: 143.6 kB / 0.8306 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2142, allocations: 0 / 0.8306 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2142, allocations: 4 kB / 0.8306 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2142, allocations: 0 / 0.8306 GB, free: 13.75 MB / 0.6544 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.0004254/0.2146, allocations: 363.3 kB / 0.8309 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2147, allocations: 11.97 kB / 0.8309 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.2147, allocations: 4.938 kB / 0.8309 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2149, allocations: 172.3 kB / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2149, allocations: 384 / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.2149, allocations: 384 / 0.8311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.2151, allocations: 42.25 kB / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2151, allocations: 192 / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2151, allocations: 3.938 kB / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2151, allocations: 0 / 0.8311 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.2152, allocations: 15.97 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.2153, allocations: 169.6 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2156, allocations: 46.5 kB / 0.8314 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.2156, allocations: 12.86 kB / 0.8314 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.2156, allocations: 4 kB / 0.8314 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2157, allocations: 34.64 kB / 0.8314 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2157, allocations: 0 / 0.8314 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0006381/0.2163, allocations: 310.2 kB / 0.8317 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2164, allocations: 55.41 kB / 0.8318 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.193e-05/0.2164, allocations: 93.86 kB / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2165, allocations: 37.62 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.2165, allocations: 80.14 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.2165, allocations: 19.66 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.2166, allocations: 21.72 kB / 0.832 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2167, allocations: 318.8 kB / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.2167, allocations: 12 kB / 0.8323 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.2168, allocations: 8 kB / 0.8323 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.979e-05/0.2168, allocations: 32.84 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.2168, allocations: 0 / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001029/0.2169, allocations: 69.67 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.217, allocations: 7.938 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.217, allocations: 0 / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.217, allocations: 7.938 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.217, allocations: 11.94 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.2171, allocations: 4.234 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.2171, allocations: 0 / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2171, allocations: 7.938 kB / 0.8325 GB, free: 11.54 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.2172, allocations: 109.8 kB / 0.8326 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.2172, allocations: 15.83 kB / 0.8326 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.2174, allocations: 69.64 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2174, allocations: 3.938 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2174, allocations: 0 / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2174, allocations: 4 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.2177, allocations: 319.4 kB / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2177, allocations: 0 / 0.8329 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.2178, allocations: 11.94 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2178, allocations: 0 / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2178, allocations: 4 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2178, allocations: 0 / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2178, allocations: 0 / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.218, allocations: 189.1 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.2181, allocations: 81.02 kB / 0.8332 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2181, allocations: 0 / 0.8332 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.2182, allocations: 7.984 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.2182, allocations: 4 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.2182, allocations: 7.938 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.2182, allocations: 83.27 kB / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2182, allocations: 4.062 kB / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002404/0.2185, allocations: 15.98 kB / 0.8333 GB, free: 10.51 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.2187, allocations: 130.1 kB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2188, allocations: 35.97 kB / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2188, allocations: 0 / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.2188, allocations: 19.94 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.2191, allocations: 7.938 kB / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.2194, allocations: 192.3 kB / 0.8337 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2197, allocations: 0.6844 MB / 0.8344 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.2198, allocations: 8 kB / 0.8344 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.2198, allocations: 11.44 kB / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.2198, allocations: 0 / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of Templates: time 0.002941/0.2227, allocations: 0.6409 MB / 0.835 GB, free: 8.762 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)