Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001183/0.001183, allocations: 176.9 kB / 366.7 MB, free: 1.641 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.341/1.341, allocations: 205.3 MB / 0.626 GB, free: 7.152 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.0007709/0.0007709, allocations: 87.42 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.803e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.577, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.7539, allocations: 139 MB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.7541, allocations: 80.62 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.765, allocations: 3.977 MB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/0.765, allocations: 0.7188 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.765, allocations: 0 / 1.113 GB, free: 7.16 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.0002942/0.7653, allocations: 335.6 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.7654, allocations: 8.531 kB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.7654, allocations: 0.5312 kB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.7655, allocations: 178.9 kB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.7656, allocations: 1.469 kB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.7656, allocations: 0 / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.069e-05/0.7657, allocations: 14.05 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.543e-05/0.7657, allocations: 36.3 kB / 1.114 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7657, allocations: 0 / 1.114 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.7658, allocations: 7.984 kB / 1.114 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-06/0.7658, allocations: 0 / 1.114 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.7659, allocations: 138.1 kB / 1.114 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.7661, allocations: 49.17 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.7661, allocations: 16.86 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.7661, allocations: 0 / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.7662, allocations: 34.5 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.7662, allocations: 1.312 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000472/0.7667, allocations: 282.4 kB / 1.114 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.7667, allocations: 56.69 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.7668, allocations: 85 kB / 1.114 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.7668, allocations: 25.7 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.7668, allocations: 86.36 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.7669, allocations: 19.66 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.7669, allocations: 1.188 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.767, allocations: 322.8 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.767, allocations: 4.562 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.7671, allocations: 8.688 kB / 1.115 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.7671, allocations: 14.5 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7671, allocations: 5.859 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.512e-05/0.7672, allocations: 57.62 kB / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.7672, allocations: 8 kB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7672, allocations: 0 / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.7672, allocations: 0 / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.7673, allocations: 15.98 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.7673, allocations: 2.156 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.7673, allocations: 4 kB / 1.115 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.7673, allocations: 0 / 1.115 GB, free: 5.156 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.097e-05/0.7674, allocations: 101 kB / 1.115 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.7674, allocations: 14.39 kB / 1.115 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.7676, allocations: 73.92 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7676, allocations: 0 / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7676, allocations: 0 / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.7676, allocations: 4 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.7678, allocations: 288 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7679, allocations: 0 / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.7679, allocations: 11.94 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7679, allocations: 0 / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.7679, allocations: 4 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7679, allocations: 0 / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.768, allocations: 0 / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.7681, allocations: 187.2 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.7682, allocations: 92.98 kB / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.7682, allocations: 1.688 kB / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.7683, allocations: 384 / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.7683, allocations: 7.984 kB / 1.115 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.7683, allocations: 0 / 1.115 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.7683, allocations: 87.33 kB / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7683, allocations: 0 / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002564/0.7686, allocations: 20 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001786/0.7688, allocations: 137.2 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.7689, allocations: 28 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7689, allocations: 0 / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.7689, allocations: 19.94 kB / 1.116 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.769, allocations: 3.953 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.7693, allocations: 139.6 kB / 1.116 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.7695, allocations: 0.6807 MB / 1.117 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.7696, allocations: 11.41 kB / 1.117 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.7696, allocations: 19.44 kB / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7696, allocations: 0 / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of Templates: time 0.001989/0.7716, allocations: 0.559 MB / 1.117 GB, free: 2.57 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)