Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00109/0.00109, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.002144/0.002144, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001729/0.001729, allocations: 243 kB / 260.5 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7204/0.7204, allocations: 138.4 MB / 455.4 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.389e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001665/0.001689, allocations: 1.328 MB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.002425, allocations: 0.5876 MB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.002454, allocations: 0 / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.002475, allocations: 3.938 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.002511, allocations: 4 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.003022, allocations: 159.2 kB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.003085, allocations: 27.86 kB / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.003123, allocations: 8 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.00316, allocations: 15.97 kB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.003214, allocations: 11.98 kB / 0.5571 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.003229, allocations: 4 kB / 0.5571 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.003523, allocations: 263.4 kB / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.003541, allocations: 11.97 kB / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.003563, allocations: 7.938 kB / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.003769, allocations: 167.4 kB / 0.5576 GB, free: 14.26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003771, allocations: 3.938 kB / 0.5576 GB, free: 14.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.003774, allocations: 3.984 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.003778, allocations: 0 / 0.5576 GB, free: 14.25 MB / 490.7 MB 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.0003556/0.004134, allocations: 396.3 kB / 0.5579 GB, free: 13.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.004177, allocations: 8.75 kB / 0.5579 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.004222, allocations: 8.922 kB / 0.558 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.004316, allocations: 116.6 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.004328, allocations: 384 / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.004354, allocations: 12.33 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.004466, allocations: 97.66 kB / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.004476, allocations: 192 / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.004486, allocations: 384 / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.004493, allocations: 384 / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.004528, allocations: 31.86 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.004676, allocations: 120.6 kB / 0.5583 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.528e-05/0.004772, allocations: 55.05 kB / 0.5584 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.004803, allocations: 27.67 kB / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.00482, allocations: 0 / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.005095, allocations: 37.39 kB / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 7.32e-07/0.005096, allocations: 0 / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008018/0.005897, allocations: 464.5 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.005924, allocations: 51.41 kB / 0.5589 GB, free: 12.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.005993, allocations: 157.9 kB / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.006003, allocations: 25.7 kB / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.006033, allocations: 130.9 kB / 0.5592 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.006065, allocations: 35.69 kB / 0.5593 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.006101, allocations: 39.36 kB / 0.5593 GB, free: 12.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.006201, allocations: 492.1 kB / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.00623, allocations: 19.98 kB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.006252, allocations: 12.11 kB / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.006316, allocations: 59.31 kB / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006317, allocations: 0 / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.719e-05/0.006414, allocations: 93.52 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.006428, allocations: 7.984 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006432, allocations: 0 / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.006445, allocations: 7.938 kB / 0.56 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.006523, allocations: 16 kB / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.006528, allocations: 0 / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.006544, allocations: 8 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.006551, allocations: 4 kB / 0.56 GB, free: 11.5 MB / 490.7 MB 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 6.575e-05/0.006617, allocations: 172.5 kB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.006627, allocations: 4 kB / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.006752, allocations: 93.75 kB / 0.5602 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.006757, allocations: 7.922 kB / 0.5602 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.006761, allocations: 4 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.006765, allocations: 3.984 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.007035, allocations: 341.3 kB / 0.5606 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007037, allocations: 0 / 0.5606 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.007103, allocations: 23.98 kB / 0.5606 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.007106, allocations: 3.938 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007113, allocations: 4 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007115, allocations: 0 / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007116, allocations: 0 / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.00729, allocations: 255.8 kB / 0.5609 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.007297, allocations: 4 kB / 0.5609 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.007311, allocations: 11.92 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.007354, allocations: 4 kB / 0.5609 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.00737, allocations: 3.984 kB / 0.5609 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.007376, allocations: 4 kB / 0.5609 GB, free: 10.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.00741, allocations: 127.2 kB / 0.561 GB, free: 10.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00741, allocations: 4.125 kB / 0.561 GB, free: 10.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.007596, allocations: 31.88 kB / 0.561 GB, free: 10.34 MB / 490.7 MB 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.000159/0.007755, allocations: 135.1 kB / 0.5612 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.007868, allocations: 59.59 kB / 0.5612 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.00787, allocations: 0 / 0.5612 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.007903, allocations: 43.55 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.008054, allocations: 8 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.00859, allocations: 253.8 kB / 0.5615 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.404e-05/0.008624, allocations: 59.34 kB / 0.5616 GB, free: 9.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.182e-05/0.008656, allocations: 12.03 kB / 0.5616 GB, free: 9.719 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.008678, allocations: 12.5 kB / 0.5616 GB, free: 9.707 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008678, allocations: 0 / 0.5616 GB, free: 9.707 MB / 490.7 MB Notification: Performance of Templates: time 0.002529/0.01121, allocations: 0.9552 MB / 0.5625 GB, free: 8.797 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7949573970399797]