Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009851/0.0009851, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001783/0.001783, allocations: 169.3 kB / 24.14 MB, free: 352 kB / 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.9548/0.9548, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6313/0.6313, allocations: 115 MB / 376 MB, free: 7.484 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 428.8 MB, free: 2.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.154e-05, allocations: 6.25 kB / 428.8 MB, free: 2.715 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001976/0.001997, allocations: 1.396 MB / 430.2 MB, free: 1.309 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.002797, allocations: 0.572 MB / 430.8 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.00282, allocations: 0 / 430.8 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.002838, allocations: 7.938 kB / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.00288, allocations: 3.938 kB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.003276, allocations: 143.2 kB / 430.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.003338, allocations: 27.86 kB / 430.9 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.003382, allocations: 11.98 kB / 430.9 MB, free: 0.543 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.003427, allocations: 19.97 kB / 431 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.003485, allocations: 7.938 kB / 431 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.003499, allocations: 0 / 431 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.003821, allocations: 275.5 kB / 431.2 MB, free: 252 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.003845, allocations: 19.91 kB / 431.3 MB, free: 232 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.003863, allocations: 4 kB / 431.3 MB, free: 228 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.004071, allocations: 167.4 kB / 431.4 MB, free: 60 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004073, allocations: 0 / 431.4 MB, free: 60 kB / 394.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004074, allocations: 0 / 431.4 MB, free: 60 kB / 394.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.00408, allocations: 3.984 kB / 431.4 MB, free: 56 kB / 394.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.0003029/0.004383, allocations: 264.2 kB / 431.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.004419, allocations: 12.02 kB / 431.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.004451, allocations: 4.938 kB / 431.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.004533, allocations: 110.1 kB / 431.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.004542, allocations: 384 / 431.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.004565, allocations: 12.33 kB / 431.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.672e-05/0.004662, allocations: 97.64 kB / 431.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.004674, allocations: 3.938 kB / 431.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.004683, allocations: 4 kB / 431.9 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004687, allocations: 3.938 kB / 431.9 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.004712, allocations: 8 kB / 431.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.004818, allocations: 69.03 kB / 432 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.004897, allocations: 46.56 kB / 432.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.004919, allocations: 24.86 kB / 432.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.004933, allocations: 0 / 432.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.004956, allocations: 34.56 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.004957, allocations: 0 / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007593/0.005716, allocations: 439.7 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.005743, allocations: 55.34 kB / 432.6 MB, free: 14.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.847e-05/0.005802, allocations: 110.7 kB / 432.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005813, allocations: 25.7 kB / 432.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.005838, allocations: 84.14 kB / 432.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.005876, allocations: 47.62 kB / 432.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.005908, allocations: 21.72 kB / 432.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.005995, allocations: 318.8 kB / 433.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.00601, allocations: 8 kB / 433.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.006026, allocations: 16.12 kB / 433.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.006072, allocations: 45 kB / 433.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.006074, allocations: 0 / 433.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.819e-05/0.006152, allocations: 73.67 kB / 433.3 MB, free: 13.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.006163, allocations: 4 kB / 433.3 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.006169, allocations: 3.938 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.006181, allocations: 0 / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.006247, allocations: 27.92 kB / 433.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006251, allocations: 0 / 433.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.006264, allocations: 4 kB / 433.4 MB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.006271, allocations: 4 kB / 433.4 MB, free: 13.9 MB / 410.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 5.783e-05/0.006329, allocations: 117.8 kB / 433.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-06/0.006339, allocations: 8 kB / 433.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.006447, allocations: 81.66 kB / 433.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006448, allocations: 0 / 433.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.00645, allocations: 3.938 kB / 433.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006453, allocations: 0 / 433.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.006666, allocations: 218.8 kB / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006667, allocations: 0 / 433.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.006731, allocations: 23.98 kB / 433.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006734, allocations: 3.938 kB / 433.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.006741, allocations: 11.94 kB / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.006742, allocations: 0 / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.006743, allocations: 4 kB / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.006877, allocations: 183.4 kB / 434 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-06/0.006883, allocations: 0 / 434 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.006898, allocations: 7.922 kB / 434 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.006941, allocations: 12 kB / 434 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.006958, allocations: 3.984 kB / 434 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.006963, allocations: 4 kB / 434 MB, free: 13.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.125e-06/0.006972, allocations: 4.859 kB / 434.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006972, allocations: 4.125 kB / 434.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.007129, allocations: 39.88 kB / 434.1 MB, free: 13.12 MB / 410.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.0001451/0.007274, allocations: 120.2 kB / 434.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.007351, allocations: 36.84 kB / 434.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.007354, allocations: 4 kB / 434.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.007381, allocations: 37.09 kB / 434.3 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.007496, allocations: 8 kB / 434.3 MB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.007973, allocations: 228.2 kB / 434.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.008008, allocations: 63.2 kB / 434.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.142e-05/0.00804, allocations: 11.98 kB / 434.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.008089, allocations: 63.36 kB / 434.7 MB, free: 12.49 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.00809, allocations: 0 / 434.7 MB, free: 12.49 MB / 410.7 MB Notification: Performance of Templates: time 0.002655/0.01074, allocations: 1.07 MB / 435.7 MB, free: 11.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4422935470938683]