Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.543/1.543, allocations: 285.4 MB / 298 MB, free: 6.02 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.0009949/0.0009949, allocations: 184.8 kB / 366.4 MB, free: 2.086 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.313/1.313, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008293/0.0008293, allocations: 90.06 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.837e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5685, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.7358, allocations: 138.6 MB / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.7361, allocations: 87.69 kB / 1.106 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008426/0.7445, allocations: 2.828 MB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7446, allocations: 1.875 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.7446, allocations: 0 / 1.109 GB, free: 10.35 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003029/0.7449, allocations: 342.4 kB / 1.109 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.745, allocations: 11.25 kB / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.745, allocations: 4 kB / 1.109 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.7451, allocations: 166.9 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.7451, allocations: 2.344 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.7452, allocations: 4 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.7453, allocations: 37.69 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7453, allocations: 0.9062 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.7453, allocations: 0 / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.7453, allocations: 7.938 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.7454, allocations: 8.906 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.7455, allocations: 162.2 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.7457, allocations: 47.48 kB / 1.11 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.7458, allocations: 18.53 kB / 1.11 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.7458, allocations: 4 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7459, allocations: 37.22 kB / 1.11 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.7459, allocations: 3.938 kB / 1.11 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005792/0.7465, allocations: 305.2 kB / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.7465, allocations: 51.41 kB / 1.11 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.7466, allocations: 89 kB / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.7466, allocations: 30.42 kB / 1.11 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.7466, allocations: 84.73 kB / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.7467, allocations: 15.7 kB / 1.11 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.7467, allocations: 4.562 kB / 1.11 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7468, allocations: 319.7 kB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.7468, allocations: 8 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.7469, allocations: 12.78 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.008e-05/0.7469, allocations: 11.98 kB / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.7469, allocations: 2.438 kB / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001085/0.747, allocations: 67.86 kB / 1.111 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.747, allocations: 7.938 kB / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.747, allocations: 0 / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.7471, allocations: 0 / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.7471, allocations: 16 kB / 1.111 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7471, allocations: 4 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.7472, allocations: 0 / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.7472, allocations: 5.312 kB / 1.111 GB, free: 8.266 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.7472, allocations: 106.7 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.7473, allocations: 4 kB / 1.111 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.7474, allocations: 77.61 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7474, allocations: 1.875 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7474, allocations: 0 / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7474, allocations: 0 / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.7478, allocations: 317.4 kB / 1.111 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7478, allocations: 0 / 1.111 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.7479, allocations: 15.92 kB / 1.111 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.7479, allocations: 4 kB / 1.111 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.7479, allocations: 4 kB / 1.111 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7479, allocations: 3.938 kB / 1.111 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7479, allocations: 0 / 1.111 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.7481, allocations: 190 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.7482, allocations: 93.03 kB / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.7482, allocations: 0 / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.7483, allocations: 0 / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.7483, allocations: 11.92 kB / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.7483, allocations: 0 / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.7483, allocations: 87.61 kB / 1.112 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7483, allocations: 4.062 kB / 1.112 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002405/0.7486, allocations: 23.94 kB / 1.112 GB, free: 7.227 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.7488, allocations: 127.2 kB / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.7489, allocations: 37.8 kB / 1.112 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7489, allocations: 0 / 1.112 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.7489, allocations: 16 kB / 1.112 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.7491, allocations: 4 kB / 1.112 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.7494, allocations: 144.5 kB / 1.112 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.7497, allocations: 0.6848 MB / 1.113 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.7497, allocations: 5.781 kB / 1.113 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.7498, allocations: 11.44 kB / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.7498, allocations: 4 kB / 1.113 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of Templates: time 0.002555/0.7523, allocations: 0.5969 MB / 1.113 GB, free: 5.594 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)