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_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008605/0.008605, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001615/0.001616, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.417/1.417, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.51/1.51, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.001454/0.001454, allocations: 71.91 kB / 0.7258 GB, free: 9.133 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1977, allocations: 104.7 MB / 0.828 GB, free: 336 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00201/0.1997, allocations: 1.283 MB / 0.8293 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009367/0.2007, allocations: 0.6191 MB / 0.8299 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.2007, allocations: 0 / 0.8299 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.2007, allocations: 0 / 0.8299 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.2008, allocations: 11.91 kB / 0.8299 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.2013, allocations: 139.4 kB / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.2014, allocations: 23.94 kB / 0.8301 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.2014, allocations: 3.984 kB / 0.8301 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.2014, allocations: 11.92 kB / 0.8301 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.2015, allocations: 8 kB / 0.8301 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.2015, allocations: 0 / 0.8301 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004799/0.202, allocations: 343.3 kB / 0.8304 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.202, allocations: 7.922 kB / 0.8304 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.202, allocations: 11.98 kB / 0.8304 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2023, allocations: 147.6 kB / 0.8306 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2023, allocations: 4 kB / 0.8306 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2023, allocations: 0 / 0.8306 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2023, allocations: 4 kB / 0.8306 GB, free: 13.71 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.0003938/0.2027, allocations: 359.4 kB / 0.8309 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2028, allocations: 11.97 kB / 0.8309 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.2028, allocations: 0.9375 kB / 0.8309 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.2029, allocations: 168.3 kB / 0.8311 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2029, allocations: 4.312 kB / 0.8311 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.203, allocations: 384 / 0.8311 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.766e-05/0.2031, allocations: 42.25 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2031, allocations: 192 / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2031, allocations: 7.938 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2031, allocations: 0 / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.2031, allocations: 15.98 kB / 0.8312 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.2033, allocations: 157.7 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.2035, allocations: 54.48 kB / 0.8314 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.2035, allocations: 12.86 kB / 0.8314 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2036, allocations: 11.98 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2036, allocations: 30.56 kB / 0.8314 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2036, allocations: 0 / 0.8314 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0005721/0.2042, allocations: 302.3 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.2042, allocations: 55.41 kB / 0.8318 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.2043, allocations: 97.8 kB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2043, allocations: 29.7 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.2043, allocations: 84.14 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.2044, allocations: 23.64 kB / 0.832 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.2044, allocations: 21.72 kB / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.2045, allocations: 314.8 kB / 0.8323 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.2045, allocations: 12 kB / 0.8323 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.2046, allocations: 15.92 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.2046, allocations: 36.91 kB / 0.8324 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2046, allocations: 4 kB / 0.8324 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.172e-05/0.2047, allocations: 65.69 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2048, allocations: 7.938 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2048, allocations: 3.984 kB / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2048, allocations: 4 kB / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.2048, allocations: 8 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2049, allocations: 0 / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.2049, allocations: 0 / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.2049, allocations: 7.938 kB / 0.8325 GB, free: 11.51 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 6.477e-05/0.205, allocations: 113.8 kB / 0.8326 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.205, allocations: 11.84 kB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.2051, allocations: 73.64 kB / 0.8327 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.2051, allocations: 0 / 0.8327 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2051, allocations: 0 / 0.8327 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2051, allocations: 0 / 0.8327 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.2054, allocations: 319.4 kB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2055, allocations: 0 / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.2055, allocations: 11.98 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2055, allocations: 0 / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.2055, allocations: 8.031 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2056, allocations: 0 / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2056, allocations: 3.938 kB / 0.833 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.2058, allocations: 180.4 kB / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.2058, allocations: 81.02 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.2058, allocations: 192 / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.2059, allocations: 12 kB / 0.8332 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.2059, allocations: 8.562 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.206, allocations: 4 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.206, allocations: 83.22 kB / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.206, allocations: 0 / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002498/0.2063, allocations: 16 kB / 0.8333 GB, free: 10.49 MB / 0.6544 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 (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.0001613/0.2064, allocations: 131.2 kB / 0.8335 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.2065, allocations: 28 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2066, allocations: 4 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.2066, allocations: 23.92 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.2068, allocations: 7.938 kB / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.2072, allocations: 196.3 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2075, allocations: 0.6844 MB / 0.8344 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.2075, allocations: 4 kB / 0.8344 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.2076, allocations: 15.44 kB / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2076, allocations: 0 / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.002848/0.2104, allocations: 0.6714 MB / 0.8351 GB, free: 8.715 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)