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.429/2.429, allocations: 285 MB / 292.5 MB, free: 10.55 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.001482/0.001482, allocations: 192.8 kB / 360.8 MB, free: 7.242 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 2.009/2.009, allocations: 205.3 MB / 0.6192 GB, free: 12.17 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.001132/0.001131, allocations: 95.83 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.803e-05, allocations: 4 kB / 0.8509 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8034/0.8035, allocations: 115.2 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/1.034, allocations: 137.5 MB / 1.098 GB, free: 3.016 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.034, allocations: 82.38 kB / 1.098 GB, free: 2.938 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01172/1.046, allocations: 2.259 MB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/1.046, allocations: 0.5312 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.054e-06/1.046, allocations: 0.5938 kB / 1.1 GB, free: 0.7227 MB / 0.698 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.0003608/1.047, allocations: 333 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.047, allocations: 8.656 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/1.047, allocations: 0 / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/1.047, allocations: 167.8 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/1.047, allocations: 0.5625 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/1.047, allocations: 0 / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.062e-05/1.047, allocations: 10.33 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.46e-05/1.047, allocations: 35.61 kB / 1.101 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.047, allocations: 0 / 1.101 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.047, allocations: 0.6562 kB / 1.101 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.047, allocations: 3.938 kB / 1.101 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/1.047, allocations: 134.9 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/1.047, allocations: 27.78 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/1.047, allocations: 9.859 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/1.047, allocations: 0 / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.048, allocations: 35.16 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.547e-06/1.048, allocations: 0.6875 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/1.048, allocations: 34.42 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.048, allocations: 51.41 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/1.048, allocations: 93.81 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/1.048, allocations: 28.64 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/1.048, allocations: 88.12 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/1.048, allocations: 7.906 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/1.048, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.048, allocations: 312 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/1.048, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/1.048, allocations: 4.75 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.005e-05/1.048, allocations: 3.844 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.048, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.329e-05/1.048, allocations: 49.55 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.048, allocations: 8 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.048, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.048, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/1.049, allocations: 8 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004646/1.049, allocations: 0.5877 MB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/1.049, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/1.049, allocations: 3.094 kB / 1.102 GB, free: 14.52 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 0.0001009/1.049, allocations: 113.1 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/1.049, allocations: 4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/1.049, allocations: 45.44 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.049, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.049, allocations: 2.438 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.049, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/1.05, allocations: 130.2 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.05, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/1.05, allocations: 11.98 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/1.05, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/1.05, allocations: 7.969 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00042/1.05, allocations: 0.586 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.05, allocations: 1.078 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/1.05, allocations: 65.08 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/1.05, allocations: 77.23 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/1.05, allocations: 4 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/1.05, allocations: 3.938 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/1.051, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/1.051, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.706e-05/1.051, allocations: 79.27 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.051, allocations: 3.938 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002808/1.051, allocations: 11.95 kB / 1.103 GB, free: 13.27 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.000214/1.051, allocations: 119.3 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002136/1.051, allocations: 16 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.051, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/1.051, allocations: 11.98 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/1.052, allocations: 3.562 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/1.052, allocations: 50.48 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/1.052, allocations: 0.6806 MB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.047e-05/1.052, allocations: 4.125 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/1.052, allocations: 7.438 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/1.052, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.003109/1.055, allocations: 415.4 kB / 1.104 GB, free: 11.96 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)