Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.382/2.382, allocations: 284.8 MB / 297.3 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 184.9 kB / 365.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.1 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 89.98 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.882e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8909/0.8909, allocations: 115.2 MB / 0.97 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/1.122, allocations: 138.2 MB / 1.105 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/1.122, allocations: 82.33 kB / 1.105 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01169/1.134, allocations: 2.273 MB / 1.107 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/1.134, allocations: 0 / 1.107 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.134, allocations: 0 / 1.107 GB, free: 11.96 MB / 0.7136 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.0003654/1.134, allocations: 333.5 kB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.134, allocations: 12.03 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/1.134, allocations: 4.609 kB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/1.134, allocations: 167.5 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.135, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/1.135, allocations: 4.688 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/1.135, allocations: 27.92 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.135, allocations: 4 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/1.135, allocations: 3.938 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.135, allocations: 0.6562 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/1.135, allocations: 8 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/1.135, allocations: 154.3 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/1.135, allocations: 28.55 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/1.135, allocations: 4.859 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.824e-05/1.135, allocations: 4.062 kB / 1.108 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.135, allocations: 31.75 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.537e-06/1.135, allocations: 1.219 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/1.135, allocations: 50.28 kB / 1.108 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/1.135, allocations: 52.31 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/1.135, allocations: 85.88 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/1.136, allocations: 29.7 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/1.136, allocations: 82.73 kB / 1.108 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/1.136, allocations: 3.906 kB / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.136, allocations: 4 kB / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.136, allocations: 314.8 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/1.136, allocations: 4 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/1.136, allocations: 3.75 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/1.136, allocations: 7.984 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.136, allocations: 0 / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.439e-05/1.136, allocations: 48.55 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.136, allocations: 4 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.136, allocations: 5.438 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.136, allocations: 0 / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/1.136, allocations: 11.98 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/1.137, allocations: 0.5824 MB / 1.109 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/1.137, allocations: 3.953 kB / 1.109 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/1.137, allocations: 0 / 1.109 GB, free: 9.703 MB / 0.7136 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 () * 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 8.187e-05/1.137, allocations: 107.2 kB / 1.109 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/1.137, allocations: 0 / 1.109 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/1.137, allocations: 48.75 kB / 1.109 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.137, allocations: 4.125 kB / 1.109 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.137, allocations: 0 / 1.109 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.137, allocations: 0 / 1.109 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/1.137, allocations: 161.6 kB / 1.109 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.137, allocations: 2.75 kB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/1.137, allocations: 11.98 kB / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/1.137, allocations: 0 / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.137, allocations: 0 / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003869/1.138, allocations: 0.5938 MB / 1.11 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.138, allocations: 0 / 1.11 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.863e-05/1.138, allocations: 61.05 kB / 1.11 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/1.138, allocations: 81.09 kB / 1.11 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/1.138, allocations: 0 / 1.11 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/1.138, allocations: 7.938 kB / 1.11 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/1.138, allocations: 3.953 kB / 1.11 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/1.138, allocations: 4.125 kB / 1.11 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.056e-05/1.138, allocations: 78.38 kB / 1.11 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.61e-07/1.138, allocations: 4 kB / 1.11 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002519/1.138, allocations: 4 kB / 1.11 GB, free: 8.426 MB / 0.7136 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 () * 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.0002148/1.139, allocations: 119.2 kB / 1.11 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002407/1.139, allocations: 19.92 kB / 1.11 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.139, allocations: 4.156 kB / 1.11 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/1.139, allocations: 12 kB / 1.11 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/1.139, allocations: 0.6094 kB / 1.11 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/1.139, allocations: 56.02 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/1.14, allocations: 0.677 MB / 1.111 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.329e-05/1.14, allocations: 3.938 kB / 1.111 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/1.14, allocations: 7.438 kB / 1.111 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/1.14, allocations: 4.062 kB / 1.111 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.003266/1.143, allocations: 422.1 kB / 1.112 GB, free: 7.094 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)