Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007445/0.0007445, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004874/0.004874, allocations: 169.3 kB / 16.26 MB, free: 6.328 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.346/1.346, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.564/1.564, allocations: 252 MB / 0.5105 GB, free: 4.645 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.0005521/0.0005523, allocations: 16 kB / 0.6249 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4816, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001448/0.4831, allocations: 0.9876 MB / 0.7297 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009825/0.4841, allocations: 0.5906 MB / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.4841, allocations: 0 / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.4841, allocations: 0 / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.4842, allocations: 0 / 0.7303 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.4846, allocations: 126.1 kB / 0.7304 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.786e-05/0.4847, allocations: 15.92 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.4848, allocations: 0 / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.4848, allocations: 4 kB / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.4848, allocations: 7.922 kB / 0.7304 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4849, allocations: 4 kB / 0.7304 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.4853, allocations: 339.3 kB / 0.7307 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.4854, allocations: 3.984 kB / 0.7307 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.4854, allocations: 25.7 kB / 0.7308 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.4856, allocations: 145.6 kB / 0.7309 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4857, allocations: 0 / 0.7309 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4857, allocations: 0 / 0.7309 GB, free: 9.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.4857, allocations: 0 / 0.7309 GB, free: 9.016 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003818/0.4861, allocations: 351.5 kB / 0.7312 GB, free: 8.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4861, allocations: 8.031 kB / 0.7312 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.4861, allocations: 4.938 kB / 0.7313 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.4863, allocations: 164.4 kB / 0.7314 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4863, allocations: 384 / 0.7314 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.4863, allocations: 4.375 kB / 0.7314 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.4864, allocations: 30.27 kB / 0.7314 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4864, allocations: 192 / 0.7314 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4865, allocations: 7.875 kB / 0.7315 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4865, allocations: 0 / 0.7315 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.4865, allocations: 8 kB / 0.7315 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.4867, allocations: 149.7 kB / 0.7316 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/0.4867, allocations: 26.55 kB / 0.7316 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.4868, allocations: 12.92 kB / 0.7316 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4868, allocations: 0 / 0.7316 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.4868, allocations: 30.56 kB / 0.7317 GB, free: 8.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.4868, allocations: 0 / 0.7317 GB, free: 8.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.487, allocations: 57.5 kB / 0.7317 GB, free: 8.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.487, allocations: 51.41 kB / 0.7318 GB, free: 7.945 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.4871, allocations: 97.98 kB / 0.7319 GB, free: 7.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.4871, allocations: 29.7 kB / 0.7319 GB, free: 7.805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.4872, allocations: 84.14 kB / 0.732 GB, free: 7.719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.4872, allocations: 11.83 kB / 0.732 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.4872, allocations: 9.719 kB / 0.732 GB, free: 7.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.4873, allocations: 310.8 kB / 0.7323 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.4873, allocations: 4 kB / 0.7323 GB, free: 7.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.4873, allocations: 4 kB / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.4874, allocations: 20.98 kB / 0.7323 GB, free: 7.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4874, allocations: 0 / 0.7323 GB, free: 7.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.568e-05/0.4874, allocations: 41.69 kB / 0.7324 GB, free: 7.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4875, allocations: 4 kB / 0.7324 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4875, allocations: 3.938 kB / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.4875, allocations: 0 / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4876, allocations: 8 kB / 0.7324 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003171/0.488, allocations: 0.5937 MB / 0.733 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.488, allocations: 4.031 kB / 0.733 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.488, allocations: 0 / 0.733 GB, free: 6.664 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/0.4881, allocations: 109.8 kB / 0.7331 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-06/0.4881, allocations: 0 / 0.7331 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.4882, allocations: 48.8 kB / 0.7331 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4882, allocations: 7.984 kB / 0.7331 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4882, allocations: 4.125 kB / 0.7331 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4882, allocations: 0 / 0.7331 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.674e-05/0.4883, allocations: 157.6 kB / 0.7333 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4883, allocations: 0 / 0.7333 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.4884, allocations: 8 kB / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4884, allocations: 0 / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.4884, allocations: 0 / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002531/0.4887, allocations: 0.586 MB / 0.7339 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4887, allocations: 8.031 kB / 0.7339 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.291e-05/0.4888, allocations: 61.17 kB / 0.7339 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.4888, allocations: 85.02 kB / 0.734 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4888, allocations: 3.984 kB / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.4888, allocations: 3.938 kB / 0.734 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.4889, allocations: 11.88 kB / 0.734 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.4889, allocations: 7.938 kB / 0.734 GB, free: 5.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.4889, allocations: 79.31 kB / 0.7341 GB, free: 5.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4889, allocations: 0 / 0.7341 GB, free: 5.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000194/0.4891, allocations: 12 kB / 0.7341 GB, free: 5.355 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.4893, allocations: 111.2 kB / 0.7342 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.4894, allocations: 15.98 kB / 0.7342 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4895, allocations: 0 / 0.7342 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.4896, allocations: 28.17 kB / 0.7343 GB, free: 5.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.4897, allocations: 0 / 0.7343 GB, free: 5.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.49, allocations: 109.3 kB / 0.7344 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.4903, allocations: 0.6731 MB / 0.735 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.863e-05/0.4903, allocations: 3.984 kB / 0.735 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.125e-05/0.4903, allocations: 11.5 kB / 0.735 GB, free: 4.348 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4903, allocations: 0 / 0.735 GB, free: 4.348 MB / 0.545 GB Notification: Performance of Templates: time 0.002371/0.4927, allocations: 426.5 kB / 0.7354 GB, free: 3.965 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: