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.0007175/0.0007175, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009731/0.001691, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.000702/0.000702, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008898/0.001592, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9414/0.9414, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08439/1.026, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5929/0.5929, allocations: 120.1 MB / 364.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05959/0.6525, allocations: 38.16 MB / 402.4 MB, free: 12.26 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.032e-06/1.032e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.3e-05, allocations: 2.312 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001675/0.001688, allocations: 1.42 MB / 405.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005876/0.002275, allocations: 0.607 MB / 405.8 MB, free: 8.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.002293, allocations: 8 kB / 405.8 MB, free: 8.832 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.615e-06/0.002301, allocations: 3.938 kB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.998e-05/0.002321, allocations: 7.969 kB / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.002637, allocations: 163.2 kB / 406 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.002693, allocations: 27.86 kB / 406 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.002726, allocations: 4 kB / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.00277, allocations: 11.98 kB / 406 MB, free: 8.617 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.002826, allocations: 19.91 kB / 406 MB, free: 8.598 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.002837, allocations: 8 kB / 406 MB, free: 8.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.003123, allocations: 251.5 kB / 406.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.003138, allocations: 7.938 kB / 406.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.003153, allocations: 8 kB / 406.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.00333, allocations: 139.6 kB / 406.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.00334, allocations: 0 / 406.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00334, allocations: 0 / 406.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.00335, allocations: 0 / 406.4 MB, free: 8.191 MB / 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.000298/0.003648, allocations: 284.2 kB / 406.7 MB, free: 7.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.003675, allocations: 12.03 kB / 406.7 MB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.003705, allocations: 16.92 kB / 406.7 MB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.003776, allocations: 109.7 kB / 406.9 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.003785, allocations: 4.375 kB / 406.9 MB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.003806, allocations: 4.375 kB / 406.9 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.003891, allocations: 97.64 kB / 407 MB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.003899, allocations: 3.938 kB / 407 MB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.003905, allocations: 0 / 407 MB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003909, allocations: 0 / 407 MB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.003932, allocations: 15.94 kB / 407 MB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.629e-05/0.004008, allocations: 69.02 kB / 407 MB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.585e-05/0.004074, allocations: 54.56 kB / 407.1 MB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.004093, allocations: 17.08 kB / 407.1 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.004107, allocations: 4 kB / 407.1 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.004124, allocations: 34.56 kB / 407.2 MB, free: 7.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 5.61e-07/0.004125, allocations: 0 / 407.2 MB, free: 7.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006723/0.004797, allocations: 447.4 kB / 407.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.00482, allocations: 55.41 kB / 407.6 MB, free: 6.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.47e-05/0.004865, allocations: 102.7 kB / 407.7 MB, free: 6.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.004875, allocations: 29.7 kB / 407.8 MB, free: 6.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.837e-05/0.004893, allocations: 80.14 kB / 407.9 MB, free: 6.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.004925, allocations: 43.62 kB / 407.9 MB, free: 6.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.004954, allocations: 25.7 kB / 407.9 MB, free: 6.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.005022, allocations: 318.8 kB / 408.2 MB, free: 6.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.005035, allocations: 12.12 kB / 408.2 MB, free: 6.184 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.005048, allocations: 11.94 kB / 408.3 MB, free: 6.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.005089, allocations: 40.75 kB / 408.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.005089, allocations: 0 / 408.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.214e-05/0.005151, allocations: 73.67 kB / 408.4 MB, free: 6.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.005161, allocations: 4 kB / 408.4 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005166, allocations: 3.938 kB / 408.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.005177, allocations: 4 kB / 408.4 MB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.005242, allocations: 27.92 kB / 408.4 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.005245, allocations: 0 / 408.4 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.005257, allocations: 4 kB / 408.4 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.005262, allocations: 4 kB / 408.4 MB, free: 6.004 MB / 394.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 4.784e-05/0.00531, allocations: 113.8 kB / 408.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.005319, allocations: 7.984 kB / 408.5 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.909e-05/0.005408, allocations: 81.72 kB / 408.6 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.005409, allocations: 0 / 408.6 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.00541, allocations: 0 / 408.6 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005413, allocations: 3.938 kB / 408.6 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.005592, allocations: 226.8 kB / 408.8 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005593, allocations: 0 / 408.8 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.005656, allocations: 23.98 kB / 408.9 MB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.005663, allocations: 11.89 kB / 408.9 MB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005664, allocations: 4 kB / 408.9 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.00567, allocations: 7.938 kB / 408.9 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.005673, allocations: 7.984 kB / 408.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005674, allocations: 0 / 408.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.005788, allocations: 171.5 kB / 409.1 MB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.005799, allocations: 7.938 kB / 409.1 MB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.005837, allocations: 4 kB / 409.1 MB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.00585, allocations: 11.92 kB / 409.1 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.005855, allocations: 0 / 409.1 MB, free: 5.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.975e-06/0.005863, allocations: 8.891 kB / 409.1 MB, free: 5.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005863, allocations: 4 kB / 409.1 MB, free: 5.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000167/0.00603, allocations: 51.8 kB / 409.1 MB, free: 5.215 MB / 394.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.0001538/0.006183, allocations: 136.1 kB / 409.3 MB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.133e-05/0.006255, allocations: 49.14 kB / 409.3 MB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.006261, allocations: 4 kB / 409.3 MB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.006288, allocations: 32.84 kB / 409.4 MB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.006392, allocations: 12 kB / 409.4 MB, free: 4.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.007142, allocations: 184.3 kB / 409.6 MB, free: 4.762 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.007173, allocations: 67.28 kB / 409.6 MB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.206e-05/0.007205, allocations: 4 kB / 409.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.007252, allocations: 71.36 kB / 409.7 MB, free: 4.602 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007253, allocations: 0 / 409.7 MB, free: 4.602 MB / 394.7 MB Notification: Performance of Templates: time 0.002513/0.009766, allocations: 1.32 MB / 411 MB, free: 3.281 MB / 394.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9146943213418126]