Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0009257/0.0009257, 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.0009831/0.0009831, allocations: 168.3 kB / 25.05 MB, free: 8.785 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.8964/0.8964, allocations: 177.1 MB / 205.5 MB, free: 5.465 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.826/1.826, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0.7656 kB / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.343e-05, allocations: 3.781 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002868/0.002891, allocations: 1.37 MB / 0.7775 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009682/0.003859, allocations: 0.5772 MB / 0.778 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.003887, allocations: 0 / 0.778 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.00391, allocations: 3.984 kB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.003962, allocations: 5.906 kB / 0.7781 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.004451, allocations: 143.4 kB / 0.7782 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.004517, allocations: 23.92 kB / 0.7782 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.004558, allocations: 7.938 kB / 0.7782 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.004613, allocations: 11.98 kB / 0.7782 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.395e-05/0.004657, allocations: 7.984 kB / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.00467, allocations: 4.625 kB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.005105, allocations: 267.4 kB / 0.7785 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.005126, allocations: 12.62 kB / 0.7785 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.005142, allocations: 4.656 kB / 0.7785 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.005396, allocations: 159.4 kB / 0.7787 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005399, allocations: 0.5 kB / 0.7787 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.21e-07/0.0054, allocations: 0 / 0.7787 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.005403, allocations: 0.5938 kB / 0.7787 GB, free: 2.746 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003518/0.005755, allocations: 258.2 kB / 0.7789 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.005796, allocations: 8.75 kB / 0.7789 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.005828, allocations: 8.875 kB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.987e-05/0.005928, allocations: 113.7 kB / 0.779 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.005938, allocations: 1.5 kB / 0.779 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.005963, allocations: 12.36 kB / 0.7791 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.006048, allocations: 59.95 kB / 0.7791 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.006055, allocations: 0.9688 kB / 0.7791 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.006062, allocations: 384 / 0.7791 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006067, allocations: 1 kB / 0.7791 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.00609, allocations: 11.92 kB / 0.7791 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.006193, allocations: 69.86 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.006351, allocations: 35.98 kB / 0.7792 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.006372, allocations: 12.86 kB / 0.7792 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.006388, allocations: 4.078 kB / 0.7792 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.006419, allocations: 35.22 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.00642, allocations: 0 / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005643/0.006984, allocations: 234.8 kB / 0.7795 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.007021, allocations: 55.34 kB / 0.7796 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.007087, allocations: 103.5 kB / 0.7797 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.007098, allocations: 25.7 kB / 0.7797 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.00713, allocations: 84.14 kB / 0.7798 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.00716, allocations: 20.34 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.007197, allocations: 22.45 kB / 0.7798 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.007295, allocations: 322.7 kB / 0.7801 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.007312, allocations: 9.453 kB / 0.7801 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.007324, allocations: 4 kB / 0.7801 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.007376, allocations: 24.83 kB / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.007377, allocations: 0 / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.538e-05/0.007463, allocations: 50.5 kB / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.007477, allocations: 4 kB / 0.7802 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.007482, allocations: 0.8438 kB / 0.7802 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.007492, allocations: 4 kB / 0.7802 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.007549, allocations: 13.73 kB / 0.7802 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.007552, allocations: 0 / 0.7802 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.007571, allocations: 7.938 kB / 0.7802 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.007578, allocations: 4 kB / 0.7802 GB, free: 0.9805 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 (7): * Single equations (assignments): 7 * 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 6.112e-05/0.007639, allocations: 106.3 kB / 0.7803 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.00765, allocations: 4 kB / 0.7803 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.007751, allocations: 66.83 kB / 0.7804 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007753, allocations: 0 / 0.7804 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007754, allocations: 0 / 0.7804 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007757, allocations: 0.5625 kB / 0.7804 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.007967, allocations: 208.8 kB / 0.7806 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.007969, allocations: 3.938 kB / 0.7806 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.008028, allocations: 8 kB / 0.7806 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.008032, allocations: 9.281 kB / 0.7806 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.008039, allocations: 0 / 0.7806 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.008041, allocations: 0.625 kB / 0.7806 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008042, allocations: 0 / 0.7806 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.008182, allocations: 165.8 kB / 0.7808 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.008204, allocations: 7.984 kB / 0.7808 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.008214, allocations: 0 / 0.7808 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.008284, allocations: 16.86 kB / 0.7808 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.0083, allocations: 7.922 kB / 0.7808 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.008306, allocations: 0.5312 kB / 0.7808 GB, free: 344 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.839e-06/0.008316, allocations: 8.859 kB / 0.7808 GB, free: 332 kB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.008316, allocations: 1 kB / 0.7808 GB, free: 332 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002577/0.008574, allocations: 23.88 kB / 0.7808 GB, free: 308 kB / 0.7292 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 () * Number of clocked 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 (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.0001625/0.008736, allocations: 111 kB / 0.7809 GB, free: 192 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.043e-05/0.008816, allocations: 24.8 kB / 0.781 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.008819, allocations: 0 / 0.781 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.008843, allocations: 24.84 kB / 0.781 GB, free: 136 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.009008, allocations: 0 / 0.781 GB, free: 136 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.00951, allocations: 189 kB / 0.7812 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.009543, allocations: 58.59 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.009571, allocations: 14.33 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.009615, allocations: 55.38 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.009615, allocations: 0 / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.002271/0.01189, allocations: 0.7245 MB / 0.782 GB, free: 15.14 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.666863052174449]