Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 293 MB / 309 MB, free: 4.824 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.001106/0.001106, allocations: 170.6 kB / 378.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 0.6383 GB, free: 8.238 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007326/0.0007326, allocations: 91.62 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5813/0.806, allocations: 139.5 MB / 1.127 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.8062, allocations: 79.81 kB / 1.127 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005964/0.8122, allocations: 2.291 MB / 1.129 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8123, allocations: 4 kB / 1.129 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8123, allocations: 0 / 1.129 GB, free: 32.7 MB / 0.7292 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.0002137/0.8125, allocations: 335.1 kB / 1.129 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.8125, allocations: 11.69 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.8126, allocations: 5.719 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.8126, allocations: 165.5 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.8127, allocations: 0.9375 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.8127, allocations: 384 / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.98e-05/0.8127, allocations: 30.27 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.8128, allocations: 4.188 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.8128, allocations: 7.5 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.8128, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.8128, allocations: 9.406 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.8129, allocations: 150.7 kB / 1.13 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/0.813, allocations: 26.14 kB / 1.13 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.813, allocations: 8.922 kB / 1.13 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.813, allocations: 4 kB / 1.13 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.813, allocations: 30.56 kB / 1.13 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.8131, allocations: 0 / 1.13 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001223/0.8132, allocations: 53.84 kB / 1.13 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.8132, allocations: 55.41 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.199e-05/0.8133, allocations: 89.86 kB / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.8133, allocations: 25.7 kB / 1.13 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.269e-05/0.8133, allocations: 84.39 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.8133, allocations: 8 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.8133, allocations: 0 / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.8134, allocations: 318.2 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.8134, allocations: 0.5625 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.8134, allocations: 4 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.8134, allocations: 12.86 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.8134, allocations: 0 / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.768e-05/0.8135, allocations: 45.61 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.8135, allocations: 11.47 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-06/0.8135, allocations: 4.5 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.8135, allocations: 0 / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.8137, allocations: 8.562 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002046/0.8139, allocations: 0.585 MB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.8139, allocations: 128 / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.8139, allocations: 4 kB / 1.131 GB, free: 30.42 MB / 0.7292 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.814, allocations: 118.6 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-06/0.814, allocations: 0.7969 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.376e-05/0.8141, allocations: 49.03 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8141, allocations: 0 / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8141, allocations: 0.8438 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.8141, allocations: 0 / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.606e-05/0.8142, allocations: 157.2 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8142, allocations: 4 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.8142, allocations: 12.03 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.8143, allocations: 0.9375 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.8143, allocations: 0 / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001575/0.8144, allocations: 0.5897 MB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8144, allocations: 3.938 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.899e-05/0.8145, allocations: 65.58 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.8145, allocations: 77.11 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.8145, allocations: 4 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.447e-05/0.8146, allocations: 0.5 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.8146, allocations: 7.219 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.8146, allocations: 0 / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.533e-05/0.8146, allocations: 79.28 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8146, allocations: 4.125 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001946/0.8148, allocations: 16 kB / 1.132 GB, free: 29.15 MB / 0.7292 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.8149, allocations: 115 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.8151, allocations: 19.31 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8151, allocations: 0 / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.8152, allocations: 15.47 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.8153, allocations: 4.125 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.8156, allocations: 109.3 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.553e-05/0.8157, allocations: 0.674 MB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.345e-05/0.8157, allocations: 0 / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.024e-05/0.8157, allocations: 8.469 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/0.8157, allocations: 0 / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.001988/0.8177, allocations: 427.8 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)