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.0007918/0.0007918, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.000914/0.000914, 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.9479/0.9479, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.663/0.663, allocations: 115 MB / 375.7 MB, free: 7.656 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.804e-06/1.804e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.659e-05, allocations: 2.312 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002665/0.002692, allocations: 1.534 MB / 483.1 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.003658, allocations: 0.6043 MB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.003693, allocations: 0 / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.003727, allocations: 4.469 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.003783, allocations: 8.266 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.004451, allocations: 162.9 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.581e-05/0.004547, allocations: 48.58 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.004588, allocations: 6.547 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.004674, allocations: 32.44 kB / 483.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.004718, allocations: 21.81 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.004737, allocations: 5.719 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.005153, allocations: 274 kB / 484.2 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.005179, allocations: 16.73 kB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.00521, allocations: 17.95 kB / 484.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.005517, allocations: 177.1 kB / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.00552, allocations: 0 / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005522, allocations: 3.938 kB / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.005526, allocations: 1.125 kB / 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.0004679/0.005994, allocations: 419.2 kB / 484.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.00604, allocations: 10.97 kB / 484.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.006099, allocations: 14.98 kB / 484.9 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.006179, allocations: 119.7 kB / 485 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.006207, allocations: 6.531 kB / 485 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.006238, allocations: 10.31 kB / 485 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.00645, allocations: 134.3 kB / 485.1 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.006465, allocations: 3.938 kB / 485.1 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.006479, allocations: 5.125 kB / 485.1 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.00649, allocations: 2.188 kB / 485.1 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.006562, allocations: 29.23 kB / 485.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.007014, allocations: 316.7 kB / 485.5 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.007185, allocations: 72.17 kB / 485.5 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/0.007221, allocations: 23.19 kB / 485.6 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.007241, allocations: 2 kB / 485.6 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.007262, allocations: 35.77 kB / 485.6 MB, free: 9.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.007264, allocations: 0 / 485.6 MB, free: 9.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001029/0.008293, allocations: 462.6 kB / 486.1 MB, free: 8.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.008319, allocations: 57.62 kB / 486.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.008377, allocations: 157.1 kB / 486.3 MB, free: 8.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.008391, allocations: 31.3 kB / 486.3 MB, free: 8.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.008594, allocations: 132.3 kB / 486.4 MB, free: 24.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.00863, allocations: 44.2 kB / 486.5 MB, free: 24.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.008676, allocations: 32.22 kB / 486.5 MB, free: 24.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.008797, allocations: 0.4894 MB / 487 MB, free: 23.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.008845, allocations: 24.12 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.008885, allocations: 15.12 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.092e-05/0.008976, allocations: 51.92 kB / 487.1 MB, free: 23.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.008984, allocations: 2.344 kB / 487.1 MB, free: 23.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001551/0.009139, allocations: 94.55 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.009156, allocations: 5.094 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.009161, allocations: 1.125 kB / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.009176, allocations: 0 / 487.2 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.009307, allocations: 32.61 kB / 487.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.009314, allocations: 2.188 kB / 487.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.009351, allocations: 7.859 kB / 487.2 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.00936, allocations: 3.938 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 8.163e-05/0.009442, allocations: 161 kB / 487.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.009481, allocations: 16.83 kB / 487.4 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.009689, allocations: 99.91 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.009691, allocations: 1.469 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.009696, allocations: 1.5 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.0097, allocations: 0.5 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.01005, allocations: 357 kB / 487.8 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01005, allocations: 1.156 kB / 487.8 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.451e-05/0.01015, allocations: 26.28 kB / 487.9 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.01015, allocations: 0 / 487.9 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01016, allocations: 3.594 kB / 487.9 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01017, allocations: 0 / 487.9 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01017, allocations: 4.906 kB / 487.9 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.0104, allocations: 269 kB / 488.1 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.01041, allocations: 6.109 kB / 488.1 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.01043, allocations: 2.156 kB / 488.1 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/0.01048, allocations: 7.578 kB / 488.2 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.0105, allocations: 15.02 kB / 488.2 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01051, allocations: 6.547 kB / 488.2 MB, free: 22.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.246e-05/0.01055, allocations: 122 kB / 488.3 MB, free: 22.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01055, allocations: 0.5 kB / 488.3 MB, free: 22.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.01076, allocations: 46.5 kB / 488.3 MB, free: 22.8 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.0001981/0.01096, allocations: 132 kB / 488.5 MB, free: 22.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.0111, allocations: 64.52 kB / 488.5 MB, free: 22.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.0111, allocations: 1 kB / 488.5 MB, free: 22.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.744e-05/0.01116, allocations: 40.19 kB / 488.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01137, allocations: 13.98 kB / 488.6 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.01197, allocations: 271 kB / 488.9 MB, free: 22.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.012, allocations: 62.59 kB / 488.9 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.261e-05/0.01205, allocations: 14.19 kB / 488.9 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.01207, allocations: 14.44 kB / 488.9 MB, free: 22.39 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01207, allocations: 0 / 488.9 MB, free: 22.39 MB / 426.7 MB Notification: Performance of Templates: time 0.003613/0.01569, allocations: 1.261 MB / 490.2 MB, free: 22.3 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.5470512178726494]