Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.0009236/0.0009235, allocations: 176.9 kB / 361.4 MB, free: 6.852 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.42/1.42, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008231/0.0008235, allocations: 97.48 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.653e-05, allocations: 4 kB / 0.8517 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5965, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.7677, allocations: 137.8 MB / 1.099 GB, free: 2.055 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.7679, allocations: 77.41 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009555/0.7775, allocations: 3.434 MB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7775, allocations: 0.5938 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.7775, allocations: 0 / 1.102 GB, free: 14.61 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.0003187/0.7779, allocations: 335.6 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7779, allocations: 8.031 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.778, allocations: 1.688 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.7781, allocations: 167.6 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.7781, allocations: 5.625 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.7781, allocations: 0.7188 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.029e-05/0.7782, allocations: 4 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.178e-05/0.7783, allocations: 30.58 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7783, allocations: 4.438 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.7783, allocations: 0 / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.7783, allocations: 0.625 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.7785, allocations: 134.9 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.7785, allocations: 23.33 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.7785, allocations: 10.36 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.7786, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.7786, allocations: 31.28 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.7786, allocations: 2.344 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001175/0.7787, allocations: 37.69 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.7788, allocations: 59.28 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.7788, allocations: 93 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.7788, allocations: 28.23 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.7789, allocations: 80.14 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.7789, allocations: 3.906 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.7789, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.779, allocations: 310.8 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.779, allocations: 8 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.779, allocations: 3.844 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.564e-05/0.7791, allocations: 7.984 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7791, allocations: 0 / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.637e-05/0.7791, allocations: 41.56 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.7791, allocations: 4.781 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.7791, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.7792, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.7793, allocations: 11.98 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003708/0.7797, allocations: 0.5901 MB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.7797, allocations: 2.344 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.7797, allocations: 0 / 1.104 GB, free: 12.39 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 7.664e-05/0.7798, allocations: 104.9 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.7798, allocations: 4.031 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.78, allocations: 49.53 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.78, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.78, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.78, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.118e-05/0.7801, allocations: 130.2 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7801, allocations: 6.375 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.7802, allocations: 7.938 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7802, allocations: 4 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.7802, allocations: 7.984 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002947/0.7805, allocations: 0.586 MB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7805, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.13e-05/0.7806, allocations: 58.53 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.7806, allocations: 85.09 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.7806, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.7806, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.7807, allocations: 12.06 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.7807, allocations: 3.938 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.7807, allocations: 79.28 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7807, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001926/0.7809, allocations: 15.94 kB / 1.105 GB, free: 11.14 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.0001909/0.7811, allocations: 115.5 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.7813, allocations: 15.98 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7813, allocations: 4.156 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.7814, allocations: 15.98 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.7815, allocations: 10.86 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001689/0.7817, allocations: 53.16 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.7819, allocations: 0.6768 MB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.74e-05/0.782, allocations: 0 / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.782, allocations: 7.438 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.782, allocations: 8.062 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.002093/0.7841, allocations: 408.2 kB / 1.107 GB, free: 9.824 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)