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.001282/0.001282, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.447/1.447, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.589/1.589, allocations: 251.7 MB / 0.5092 GB, free: 3.129 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.001517/0.001517, allocations: 63.91 kB / 0.6223 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4632, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002637/0.4659, allocations: 1.273 MB / 0.7258 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.4669, allocations: 0.6216 MB / 0.7264 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.467, allocations: 0 / 0.7264 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.467, allocations: 0 / 0.7264 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.4671, allocations: 7.922 kB / 0.7264 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.4676, allocations: 147.4 kB / 0.7265 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.4677, allocations: 19.92 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.4678, allocations: 4 kB / 0.7266 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.565e-05/0.4678, allocations: 11.94 kB / 0.7266 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.4679, allocations: 11.97 kB / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.4679, allocations: 0 / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005197/0.4684, allocations: 343.3 kB / 0.7269 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.4684, allocations: 7.922 kB / 0.7269 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.4685, allocations: 8 kB / 0.7269 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.4688, allocations: 149.6 kB / 0.7271 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4688, allocations: 3.984 kB / 0.7271 GB, free: 10.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4688, allocations: 0 / 0.7271 GB, free: 10.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4688, allocations: 0 / 0.7271 GB, free: 10.33 MB / 0.545 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.0004974/0.4693, allocations: 359.4 kB / 0.7274 GB, free: 9.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4693, allocations: 8.031 kB / 0.7274 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.4694, allocations: 4.938 kB / 0.7274 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4695, allocations: 176.2 kB / 0.7276 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4695, allocations: 384 / 0.7276 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.4696, allocations: 8.375 kB / 0.7276 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.4697, allocations: 34.25 kB / 0.7276 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4697, allocations: 192 / 0.7276 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.4697, allocations: 15.94 kB / 0.7276 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4697, allocations: 0 / 0.7276 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.971e-05/0.4698, allocations: 7.938 kB / 0.7277 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.47, allocations: 157.7 kB / 0.7278 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.4702, allocations: 42.61 kB / 0.7278 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.4702, allocations: 20.94 kB / 0.7279 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.4702, allocations: 0 / 0.7279 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.4703, allocations: 34.56 kB / 0.7279 GB, free: 9.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4703, allocations: 0 / 0.7279 GB, free: 9.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006783/0.471, allocations: 314.2 kB / 0.7282 GB, free: 8.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.471, allocations: 59.34 kB / 0.7283 GB, free: 8.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.4711, allocations: 98.17 kB / 0.7283 GB, free: 8.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.4711, allocations: 29.7 kB / 0.7284 GB, free: 8.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.4712, allocations: 84.14 kB / 0.7285 GB, free: 8.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.4712, allocations: 19.66 kB / 0.7285 GB, free: 8.641 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.4713, allocations: 21.7 kB / 0.7285 GB, free: 8.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4714, allocations: 314.8 kB / 0.7288 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.4714, allocations: 12 kB / 0.7288 GB, free: 8.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.4714, allocations: 11.98 kB / 0.7288 GB, free: 8.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.4715, allocations: 33 kB / 0.7288 GB, free: 8.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4715, allocations: 0 / 0.7288 GB, free: 8.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.356e-05/0.4716, allocations: 69.61 kB / 0.7289 GB, free: 8.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4716, allocations: 11.94 kB / 0.7289 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4716, allocations: 4 kB / 0.7289 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.4717, allocations: 192 / 0.7289 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.4717, allocations: 8 kB / 0.7289 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4717, allocations: 3.984 kB / 0.7289 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.4717, allocations: 4 kB / 0.7289 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4718, allocations: 7.984 kB / 0.729 GB, free: 8.125 MB / 0.545 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.178e-05/0.4718, allocations: 105.8 kB / 0.7291 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.4719, allocations: 15.84 kB / 0.7291 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.472, allocations: 77.53 kB / 0.7291 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.472, allocations: 0 / 0.7291 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.472, allocations: 7.984 kB / 0.7291 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.472, allocations: 0 / 0.7291 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.4723, allocations: 311.4 kB / 0.7294 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4724, allocations: 0 / 0.7294 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.4724, allocations: 8 kB / 0.7295 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4724, allocations: 4 kB / 0.7295 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.4725, allocations: 32 / 0.7295 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4725, allocations: 4 kB / 0.7295 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4725, allocations: 3.984 kB / 0.7295 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.4727, allocations: 184.5 kB / 0.7296 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.4727, allocations: 89 kB / 0.7297 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4727, allocations: 4.031 kB / 0.7297 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.4728, allocations: 0 / 0.7297 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.4728, allocations: 8.062 kB / 0.7297 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4728, allocations: 3.938 kB / 0.7297 GB, free: 7.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.4729, allocations: 87.27 kB / 0.7298 GB, free: 7.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4729, allocations: 0 / 0.7298 GB, free: 7.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002381/0.4731, allocations: 20 kB / 0.7298 GB, free: 7.094 MB / 0.545 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.000167/0.4733, allocations: 119.2 kB / 0.73 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.4734, allocations: 35.92 kB / 0.73 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4734, allocations: 0 / 0.73 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.4735, allocations: 20 kB / 0.73 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4737, allocations: 15.92 kB / 0.73 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.4741, allocations: 196.2 kB / 0.7302 GB, free: 6.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.4744, allocations: 0.6768 MB / 0.7309 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.4745, allocations: 7.984 kB / 0.7309 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.4745, allocations: 11.44 kB / 0.7309 GB, free: 5.957 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4745, allocations: 0 / 0.7309 GB, free: 5.957 MB / 0.545 GB Notification: Performance of Templates: time 0.002878/0.4774, allocations: 0.6549 MB / 0.7315 GB, free: 5.348 MB / 0.545 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)