Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001077/0.001077, allocations: 192.8 kB / 377.1 MB, free: 1.527 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.571/1.571, allocations: 205.4 MB / 0.6367 GB, free: 8.633 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.0008848/0.000885, allocations: 92.45 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2324, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6665/0.899, allocations: 139.5 MB / 1.125 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.8993, allocations: 78.39 kB / 1.125 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008916/0.9082, allocations: 3.445 MB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9083, allocations: 0 / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9083, allocations: 0 / 1.128 GB, free: 32.61 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.0002467/0.9086, allocations: 342.6 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.9086, allocations: 16.02 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.9086, allocations: 3.344 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.9087, allocations: 162.6 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.9087, allocations: 0 / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.9088, allocations: 11.44 kB / 1.129 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.9089, allocations: 33.64 kB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.9089, allocations: 0 / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.9089, allocations: 0.8125 kB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.9089, allocations: 5.734 kB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.9089, allocations: 0 / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.909, allocations: 153.7 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/0.9091, allocations: 19.64 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.9091, allocations: 8.062 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.9091, allocations: 37.78 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.9092, allocations: 0 / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001202/0.9093, allocations: 44.02 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.9093, allocations: 51.41 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.849e-05/0.9094, allocations: 92.42 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.9094, allocations: 25.95 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.9094, allocations: 88.8 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.9094, allocations: 0 / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.9094, allocations: 0 / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.9095, allocations: 314.8 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.9095, allocations: 0 / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.9095, allocations: 4 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.584e-05/0.9095, allocations: 11.45 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9095, allocations: 0.6562 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.921e-05/0.9096, allocations: 49.56 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.9096, allocations: 8.781 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.9096, allocations: 0.8594 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.9096, allocations: 0 / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.9098, allocations: 12.27 kB / 1.129 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/0.91, allocations: 0.5816 MB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.91, allocations: 0.875 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.91, allocations: 4 kB / 1.13 GB, free: 30.37 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.732e-05/0.9101, allocations: 121 kB / 1.13 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-06/0.9101, allocations: 0 / 1.13 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.754e-05/0.9102, allocations: 44.25 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.9102, allocations: 0 / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.9102, allocations: 0 / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9102, allocations: 0.5625 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.9e-05/0.9103, allocations: 153.6 kB / 1.13 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9103, allocations: 5.734 kB / 1.13 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.9104, allocations: 8.5 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9104, allocations: 3.328 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.9104, allocations: 0 / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001573/0.9106, allocations: 0.5931 MB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9106, allocations: 5 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.061e-05/0.9106, allocations: 65.39 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.9107, allocations: 81.05 kB / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.9107, allocations: 4 kB / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.9107, allocations: 0.625 kB / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.9107, allocations: 0 / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.9107, allocations: 3.953 kB / 1.131 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.707e-05/0.9107, allocations: 87.3 kB / 1.131 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9107, allocations: 4.125 kB / 1.131 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001842/0.9109, allocations: 12 kB / 1.131 GB, free: 29.09 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.0001356/0.9111, allocations: 111.6 kB / 1.131 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.9112, allocations: 19.41 kB / 1.131 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9112, allocations: 0 / 1.131 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.9113, allocations: 11.52 kB / 1.131 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.307e-05/0.9114, allocations: 4.688 kB / 1.131 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.9117, allocations: 111.8 kB / 1.131 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.04e-05/0.9118, allocations: 0.6812 MB / 1.132 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.419e-05/0.9118, allocations: 0 / 1.132 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-06/0.9118, allocations: 7.438 kB / 1.132 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9119, allocations: 0 / 1.132 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.002027/0.9139, allocations: 407.1 kB / 1.132 GB, free: 27.89 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)