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.00102/0.00102, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002555, allocations: 447.8 kB / 10.34 MB, free: 352 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.001057/0.001057, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002342, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9976/0.9976, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09289/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.56 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.6303/0.6303, allocations: 119.1 MB / 363.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06779/0.6981, allocations: 37.86 MB / 400.9 MB, free: 13.73 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_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.092e-06/1.092e-06, allocations: 0 / 402.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/1.988e-05, allocations: 2.312 kB / 402.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001828/0.001848, allocations: 1.572 MB / 403.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006436/0.002491, allocations: 0.5915 MB / 404.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.002518, allocations: 4 kB / 404.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.002541, allocations: 7.922 kB / 404.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.57e-05/0.002566, allocations: 7.875 kB / 404.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.002937, allocations: 151.2 kB / 404.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.003018, allocations: 55.78 kB / 404.6 MB, free: 9.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.003055, allocations: 7.984 kB / 404.7 MB, free: 9.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.378e-05/0.003149, allocations: 43.89 kB / 404.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.003185, allocations: 19.98 kB / 404.7 MB, free: 9.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.003199, allocations: 4 kB / 404.7 MB, free: 9.906 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.003513, allocations: 275.4 kB / 405 MB, free: 9.637 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.003529, allocations: 11.94 kB / 405 MB, free: 9.625 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.003552, allocations: 16 kB / 405 MB, free: 9.609 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.003752, allocations: 143.5 kB / 405.2 MB, free: 9.469 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601e-05/0.003768, allocations: 3.984 kB / 405.2 MB, free: 9.465 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.003769, allocations: 0 / 405.2 MB, free: 9.465 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.003785, allocations: 0 / 405.2 MB, free: 9.465 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000435/0.00422, allocations: 324 kB / 405.5 MB, free: 9.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.004249, allocations: 16.03 kB / 405.5 MB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.004278, allocations: 4.938 kB / 405.5 MB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.668e-05/0.004354, allocations: 113.7 kB / 405.6 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.004381, allocations: 12.38 kB / 405.6 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.004399, allocations: 12.36 kB / 405.6 MB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.004536, allocations: 126.3 kB / 405.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.004546, allocations: 3.938 kB / 405.8 MB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.004553, allocations: 0 / 405.8 MB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004559, allocations: 4 kB / 405.8 MB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.004595, allocations: 23.92 kB / 405.8 MB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.004871, allocations: 204.1 kB / 406 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.882e-05/0.00497, allocations: 58.47 kB / 406 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.00499, allocations: 20.8 kB / 406.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.005006, allocations: 0 / 406.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.005028, allocations: 34.56 kB / 406.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005029, allocations: 0 / 406.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007207/0.00575, allocations: 459.7 kB / 406.5 MB, free: 7.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.005775, allocations: 51.41 kB / 406.6 MB, free: 7.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.612e-05/0.005821, allocations: 102.7 kB / 406.7 MB, free: 7.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.00583, allocations: 29.7 kB / 406.7 MB, free: 7.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.005859, allocations: 96.06 kB / 406.8 MB, free: 7.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.005888, allocations: 39.64 kB / 406.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.005919, allocations: 33.69 kB / 406.9 MB, free: 7.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.005985, allocations: 322.8 kB / 407.2 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.006002, allocations: 8 kB / 407.2 MB, free: 7.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.006018, allocations: 12 kB / 407.2 MB, free: 7.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.006058, allocations: 37.08 kB / 407.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006059, allocations: 0 / 407.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.924e-05/0.006129, allocations: 73.67 kB / 407.3 MB, free: 7.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.006141, allocations: 4 kB / 407.3 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006145, allocations: 7.875 kB / 407.3 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.006153, allocations: 4 kB / 407.3 MB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.006238, allocations: 31.97 kB / 407.4 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.006241, allocations: 0 / 407.4 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.006262, allocations: 4.188 kB / 407.4 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.006268, allocations: 4 kB / 407.4 MB, free: 7.016 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.947e-05/0.006318, allocations: 113.8 kB / 407.5 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.006336, allocations: 15.97 kB / 407.5 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.673e-05/0.006433, allocations: 81.72 kB / 407.6 MB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.006435, allocations: 0 / 407.6 MB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.006439, allocations: 4 kB / 407.6 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006442, allocations: 4 kB / 407.6 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.006638, allocations: 238.6 kB / 407.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.00664, allocations: 0 / 407.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.006718, allocations: 35.92 kB / 407.9 MB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.006725, allocations: 3.984 kB / 407.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.006728, allocations: 0 / 407.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.006738, allocations: 4 kB / 407.9 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.00674, allocations: 0 / 407.9 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006741, allocations: 0 / 407.9 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.006884, allocations: 187.4 kB / 408.1 MB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.006897, allocations: 8.031 kB / 408.1 MB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.006941, allocations: 7.984 kB / 408.1 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.006953, allocations: 7.922 kB / 408.1 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.006959, allocations: 4 kB / 408.1 MB, free: 6.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.028e-05/0.006969, allocations: 12.86 kB / 408.1 MB, free: 6.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006969, allocations: 0 / 408.1 MB, free: 6.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.007141, allocations: 43.8 kB / 408.1 MB, free: 6.203 MB / 394.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.0001592/0.0073, allocations: 132.1 kB / 408.3 MB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.007384, allocations: 52.78 kB / 408.3 MB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.007388, allocations: 4 kB / 408.3 MB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.007413, allocations: 32.84 kB / 408.4 MB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.007553, allocations: 12 kB / 408.4 MB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.008514, allocations: 212.8 kB / 408.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.496e-05/0.008549, allocations: 67.2 kB / 408.6 MB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.315e-05/0.008592, allocations: 16.7 kB / 408.7 MB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.008647, allocations: 63.38 kB / 408.7 MB, free: 5.555 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008648, allocations: 3.938 kB / 408.7 MB, free: 5.551 MB / 394.7 MB Notification: Performance of Templates: time 0.002952/0.0116, allocations: 1.438 MB / 410.2 MB, free: 4.113 MB / 394.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.21133138705045]