Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0008531/0.0008531, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009865/0.0009865, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9852/0.9852, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6756/0.6756, allocations: 114.9 MB / 375.7 MB, free: 7.621 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.008e-05, allocations: 4.344 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001831/0.001851, allocations: 1.524 MB / 483 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.002707, allocations: 0.603 MB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.002741, allocations: 0.6875 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.002774, allocations: 5.125 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.002827, allocations: 4.484 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.003326, allocations: 167.2 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.003419, allocations: 48.7 kB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.00347, allocations: 7.984 kB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.003557, allocations: 35.02 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.003605, allocations: 19.62 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.003625, allocations: 7.562 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.003962, allocations: 270.7 kB / 484.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.003988, allocations: 10.16 kB / 484.2 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.004023, allocations: 24.84 kB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.004323, allocations: 178.1 kB / 484.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004327, allocations: 7.188 kB / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.004329, allocations: 1.094 kB / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.004334, allocations: 0 / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003847/0.004719, allocations: 411.5 kB / 484.8 MB, free: 9.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.00476, allocations: 10.94 kB / 484.8 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.004807, allocations: 22.27 kB / 484.9 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.413e-05/0.004871, allocations: 118.7 kB / 485 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.004896, allocations: 4.594 kB / 485 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.004926, allocations: 10.5 kB / 485 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.005097, allocations: 133.5 kB / 485.1 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.005108, allocations: 5 kB / 485.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.00512, allocations: 0.9062 kB / 485.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.005129, allocations: 1.938 kB / 485.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.00518, allocations: 27.69 kB / 485.1 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.005692, allocations: 319.5 kB / 485.5 MB, free: 25.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.005813, allocations: 71.44 kB / 485.5 MB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.00584, allocations: 20.36 kB / 485.5 MB, free: 25.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.005859, allocations: 2.062 kB / 485.6 MB, free: 25.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.005877, allocations: 39.58 kB / 485.6 MB, free: 25.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005878, allocations: 0.9375 kB / 485.6 MB, free: 25.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007389/0.006617, allocations: 459.2 kB / 486 MB, free: 24.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.006635, allocations: 53.97 kB / 486.1 MB, free: 24.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.006695, allocations: 161 kB / 486.2 MB, free: 24.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.006703, allocations: 26.98 kB / 486.3 MB, free: 24.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.006743, allocations: 140.8 kB / 486.4 MB, free: 24.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.006767, allocations: 39.19 kB / 486.5 MB, free: 24.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.006801, allocations: 32.66 kB / 486.5 MB, free: 24.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.006904, allocations: 0.4937 MB / 487 MB, free: 23.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.006936, allocations: 24.7 kB / 487 MB, free: 23.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.006964, allocations: 20.12 kB / 487 MB, free: 23.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.007025, allocations: 51.95 kB / 487.1 MB, free: 23.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.007026, allocations: 4 kB / 487.1 MB, free: 23.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001011/0.007127, allocations: 93.95 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.007138, allocations: 4.469 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007143, allocations: 1.188 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.007157, allocations: 3.5 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.007251, allocations: 24.58 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.007255, allocations: 1.438 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.007279, allocations: 10.91 kB / 487.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.007287, allocations: 7.188 kB / 487.2 MB, free: 23.72 MB / 426.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.99e-05/0.007347, allocations: 159.1 kB / 487.4 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.007369, allocations: 9.516 kB / 487.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.007504, allocations: 106.1 kB / 487.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007506, allocations: 5.078 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.00751, allocations: 1.5 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007513, allocations: 0.9375 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.007747, allocations: 348.6 kB / 487.8 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007749, allocations: 1.062 kB / 487.8 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.007828, allocations: 27.08 kB / 487.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.00783, allocations: 1.406 kB / 487.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.00784, allocations: 8.5 kB / 487.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007842, allocations: 2.562 kB / 487.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007843, allocations: 3.938 kB / 487.9 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.008029, allocations: 259.8 kB / 488.1 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.008036, allocations: 6.641 kB / 488.1 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.008048, allocations: 4.906 kB / 488.1 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.008096, allocations: 7.375 kB / 488.1 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.00812, allocations: 10.66 kB / 488.2 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.008127, allocations: 7.156 kB / 488.2 MB, free: 22.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.429e-05/0.008161, allocations: 122 kB / 488.3 MB, free: 22.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008161, allocations: 2.375 kB / 488.3 MB, free: 22.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.008336, allocations: 44.19 kB / 488.3 MB, free: 22.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001347/0.008471, allocations: 129.3 kB / 488.5 MB, free: 22.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.008587, allocations: 64.78 kB / 488.5 MB, free: 22.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.008589, allocations: 1.25 kB / 488.5 MB, free: 22.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.008627, allocations: 39.45 kB / 488.6 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.008805, allocations: 18.69 kB / 488.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.009379, allocations: 276 kB / 488.8 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.009413, allocations: 61.45 kB / 488.9 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.009452, allocations: 17.33 kB / 488.9 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.009483, allocations: 14.97 kB / 488.9 MB, free: 22.39 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009484, allocations: 0 / 488.9 MB, free: 22.39 MB / 426.7 MB Notification: Performance of Templates: time 0.002992/0.01248, allocations: 1.155 MB / 490.1 MB, free: 22.33 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6550061679445207]