Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 84.86 kB / 21.62 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009033/0.0009033, allocations: 167.5 kB / 25.05 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9485/0.9485, allocations: 177.1 MB / 205.5 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.853/1.853, allocations: 389.6 MB / 0.6363 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.873e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001968/0.001987, allocations: 1.389 MB / 0.7775 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.002714, allocations: 0.5793 MB / 0.7781 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.002741, allocations: 4 kB / 0.7781 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.002765, allocations: 0.875 kB / 0.7781 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.002805, allocations: 5.953 kB / 0.7781 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.00326, allocations: 149.3 kB / 0.7782 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.003316, allocations: 28.61 kB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.003352, allocations: 4 kB / 0.7783 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.003388, allocations: 16.52 kB / 0.7783 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.003436, allocations: 15.91 kB / 0.7783 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.003449, allocations: 4.625 kB / 0.7783 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.003785, allocations: 280 kB / 0.7786 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.003801, allocations: 3.984 kB / 0.7786 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.003819, allocations: 13.5 kB / 0.7786 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.004024, allocations: 159.5 kB / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004026, allocations: 0 / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004027, allocations: 0 / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004032, allocations: 1.125 kB / 0.7787 GB, free: 2.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002964/0.004328, allocations: 268.6 kB / 0.779 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.004366, allocations: 12.75 kB / 0.779 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.004396, allocations: 5.688 kB / 0.779 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.988e-05/0.004485, allocations: 118.4 kB / 0.7791 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004497, allocations: 4.375 kB / 0.7791 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.004522, allocations: 9 kB / 0.7791 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.004611, allocations: 89.66 kB / 0.7792 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.004619, allocations: 1.094 kB / 0.7792 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.004626, allocations: 4.375 kB / 0.7792 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.00463, allocations: 5.75 kB / 0.7792 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.338e-05/0.004654, allocations: 15.92 kB / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.72e-05/0.004741, allocations: 61.05 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.004816, allocations: 55.22 kB / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.004835, allocations: 16.84 kB / 0.7794 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.004849, allocations: 4.5 kB / 0.7794 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.00487, allocations: 36.28 kB / 0.7794 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 6.72e-07/0.00487, allocations: 0 / 0.7794 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0007085/0.005579, allocations: 441.8 kB / 0.7798 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.005605, allocations: 57 kB / 0.7799 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.608e-05/0.005652, allocations: 106.6 kB / 0.78 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.005667, allocations: 29.7 kB / 0.78 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.005686, allocations: 80.14 kB / 0.7801 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.005717, allocations: 44.52 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.005748, allocations: 25.7 kB / 0.7801 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.005818, allocations: 319.8 kB / 0.7805 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.005832, allocations: 8 kB / 0.7805 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.005846, allocations: 11.98 kB / 0.7805 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.005889, allocations: 37.34 kB / 0.7805 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.00589, allocations: 0 / 0.7805 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.573e-05/0.005956, allocations: 73.61 kB / 0.7806 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.005966, allocations: 8 kB / 0.7806 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005971, allocations: 1.156 kB / 0.7806 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.005978, allocations: 0 / 0.7806 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.006038, allocations: 23.98 kB / 0.7806 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.006042, allocations: 3.938 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.006053, allocations: 0.6562 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.006059, allocations: 5.125 kB / 0.7806 GB, free: 0.5547 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.006109, allocations: 113.8 kB / 0.7807 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.006119, allocations: 12.61 kB / 0.7807 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.914e-05/0.006208, allocations: 85.66 kB / 0.7808 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.00621, allocations: 1.5 kB / 0.7808 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006212, allocations: 0 / 0.7808 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.006215, allocations: 3.938 kB / 0.7808 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.006409, allocations: 222.8 kB / 0.781 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.00641, allocations: 1.344 kB / 0.781 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.00647, allocations: 20 kB / 0.7811 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006472, allocations: 0 / 0.7811 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.006479, allocations: 3.984 kB / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00648, allocations: 0.875 kB / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.006482, allocations: 3.938 kB / 0.7811 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.006628, allocations: 196.4 kB / 0.7813 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.006636, allocations: 8 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-06/0.006645, allocations: 0.9375 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.006683, allocations: 4 kB / 0.7813 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.006698, allocations: 12.45 kB / 0.7813 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.006704, allocations: 4 kB / 0.7813 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.123e-06/0.006711, allocations: 5.672 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006711, allocations: 2.75 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000164/0.006875, allocations: 43.8 kB / 0.7813 GB, free: 15.78 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.006998, allocations: 108.3 kB / 0.7814 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.535e-05/0.007073, allocations: 52.75 kB / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.007075, allocations: 7.938 kB / 0.7815 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.007095, allocations: 20.86 kB / 0.7815 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.007198, allocations: 10.84 kB / 0.7815 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.007616, allocations: 227 kB / 0.7817 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.862e-05/0.007645, allocations: 61.23 kB / 0.7818 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.007677, allocations: 16.06 kB / 0.7818 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.007722, allocations: 64.12 kB / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.007723, allocations: 0 / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.00275/0.01047, allocations: 1.067 MB / 0.7829 GB, free: 14.22 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7036338141188025]