Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0008978/0.0008978, allocations: 83.73 kB / 20.75 MB, free: 3.734 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.0008876/0.0008876, allocations: 165 kB / 24.17 MB, free: 332 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.9102/0.9102, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.649/0.649, allocations: 110.2 MB / 371.3 MB, free: 12.35 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 422.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.525e-05, allocations: 2.312 kB / 422.4 MB, free: 9.371 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002119/0.002135, allocations: 1.521 MB / 423.9 MB, free: 7.832 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008606/0.002995, allocations: 0.6148 MB / 424.5 MB, free: 7.215 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.003024, allocations: 0 / 424.5 MB, free: 7.215 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.003053, allocations: 7.922 kB / 424.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.003097, allocations: 0 / 424.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.003555, allocations: 171.2 kB / 424.7 MB, free: 7.039 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.00363, allocations: 51.77 kB / 424.8 MB, free: 6.988 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.003662, allocations: 4 kB / 424.8 MB, free: 6.984 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.003734, allocations: 31.95 kB / 424.8 MB, free: 6.953 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.003771, allocations: 19.92 kB / 424.8 MB, free: 6.934 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.003785, allocations: 4 kB / 424.8 MB, free: 6.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.004127, allocations: 279.4 kB / 425.1 MB, free: 6.656 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.004145, allocations: 11.92 kB / 425.1 MB, free: 6.645 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.004167, allocations: 15.98 kB / 425.1 MB, free: 6.629 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.004396, allocations: 187.3 kB / 425.3 MB, free: 6.445 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004397, allocations: 0 / 425.3 MB, free: 6.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004398, allocations: 4 kB / 425.3 MB, free: 6.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.004401, allocations: 0 / 425.3 MB, free: 6.441 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.0003524/0.004753, allocations: 296.5 kB / 425.6 MB, free: 6.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.004783, allocations: 8.031 kB / 425.6 MB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.004812, allocations: 4.938 kB / 425.6 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.004883, allocations: 113.7 kB / 425.7 MB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.004904, allocations: 8.375 kB / 425.7 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.004925, allocations: 8.375 kB / 425.7 MB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.005063, allocations: 126.3 kB / 425.8 MB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.005072, allocations: 4.188 kB / 425.9 MB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.005079, allocations: 384 / 425.9 MB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.005085, allocations: 4.375 kB / 425.9 MB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.005123, allocations: 23.92 kB / 425.9 MB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.005408, allocations: 212 kB / 426.1 MB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.005515, allocations: 46.55 kB / 426.1 MB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.005536, allocations: 17.02 kB / 426.1 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.00555, allocations: 7.984 kB / 426.2 MB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.00557, allocations: 38.5 kB / 426.2 MB, free: 5.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005571, allocations: 0 / 426.2 MB, free: 5.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007585/0.00633, allocations: 455.5 kB / 426.6 MB, free: 4.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.006357, allocations: 55.41 kB / 426.7 MB, free: 4.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.006411, allocations: 98.72 kB / 426.8 MB, free: 4.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.006424, allocations: 29.7 kB / 426.8 MB, free: 4.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.006454, allocations: 92.08 kB / 426.9 MB, free: 4.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.006487, allocations: 43.61 kB / 427 MB, free: 4.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.006527, allocations: 33.64 kB / 427 MB, free: 4.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.006606, allocations: 318.8 kB / 427.3 MB, free: 4.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.006627, allocations: 8 kB / 427.3 MB, free: 4.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.006652, allocations: 19.92 kB / 427.3 MB, free: 4.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.006703, allocations: 37.09 kB / 427.4 MB, free: 4.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.006705, allocations: 4 kB / 427.4 MB, free: 4.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.046e-05/0.006796, allocations: 77.61 kB / 427.4 MB, free: 4.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006807, allocations: 7.438 kB / 427.4 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.00681, allocations: 0 / 427.4 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.006822, allocations: 0 / 427.4 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.006914, allocations: 31.91 kB / 427.5 MB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.006916, allocations: 0 / 427.5 MB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.006945, allocations: 4 kB / 427.5 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006952, allocations: 4 kB / 427.5 MB, free: 4.031 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 5.617e-05/0.007008, allocations: 109.8 kB / 427.6 MB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.007036, allocations: 19.92 kB / 427.6 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.007156, allocations: 89.67 kB / 427.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007157, allocations: 0 / 427.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.007158, allocations: 0 / 427.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007161, allocations: 0 / 427.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.007412, allocations: 238.7 kB / 427.9 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007414, allocations: 0 / 427.9 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/0.007501, allocations: 31.92 kB / 428 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007503, allocations: 0 / 428 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.00751, allocations: 0 / 428 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.007511, allocations: 0 / 428 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.007513, allocations: 11.98 kB / 428 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.007659, allocations: 179.4 kB / 428.2 MB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.007666, allocations: 11.89 kB / 428.2 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.007679, allocations: 4 kB / 428.2 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.22e-05/0.007741, allocations: 4 kB / 428.2 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.007757, allocations: 7.984 kB / 428.2 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.007764, allocations: 3.984 kB / 428.2 MB, free: 3.277 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.201e-05/0.007776, allocations: 12.86 kB / 428.2 MB, free: 3.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007776, allocations: 0 / 428.2 MB, free: 3.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.008, allocations: 35.88 kB / 428.2 MB, free: 3.227 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.0001419/0.008142, allocations: 120.2 kB / 428.3 MB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.008225, allocations: 45.27 kB / 428.4 MB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.008229, allocations: 4 kB / 428.4 MB, free: 3.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.008271, allocations: 36.72 kB / 428.4 MB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.008428, allocations: 20.02 kB / 428.5 MB, free: 2.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.008891, allocations: 241 kB / 428.7 MB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.008929, allocations: 67.34 kB / 428.8 MB, free: 2.641 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.192e-05/0.008971, allocations: 12.67 kB / 428.8 MB, free: 2.629 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.009035, allocations: 67.3 kB / 428.8 MB, free: 2.562 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009035, allocations: 4 kB / 428.8 MB, free: 2.559 MB / 394.7 MB Notification: Performance of Templates: time 0.003027/0.01206, allocations: 1.31 MB / 430.1 MB, free: 1.246 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1528951451182365]