Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008236/0.0008236, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001951, allocations: 449.8 kB / 10.44 MB, free: 252 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.001014/0.001014, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002248, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9383/0.9383, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08261/1.021, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.888/1.888, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4612/2.35, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.226e-05, allocations: 8.219 kB / 0.7448 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002714/0.002736, allocations: 1.594 MB / 0.7464 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.003482, allocations: 0.6087 MB / 0.747 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.003506, allocations: 0 / 0.747 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.003534, allocations: 3.938 kB / 0.747 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.523e-05/0.00357, allocations: 10.17 kB / 0.747 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.003907, allocations: 171.1 kB / 0.7472 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.003984, allocations: 49.83 kB / 0.7472 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.004023, allocations: 7.203 kB / 0.7472 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.004122, allocations: 35.91 kB / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.004165, allocations: 27.89 kB / 0.7473 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.004178, allocations: 4 kB / 0.7473 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.004532, allocations: 247.5 kB / 0.7475 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.004551, allocations: 7.938 kB / 0.7475 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.004569, allocations: 12 kB / 0.7475 GB, free: 492 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.004776, allocations: 159.5 kB / 0.7477 GB, free: 332 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-05/0.004793, allocations: 0 / 0.7477 GB, free: 332 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004795, allocations: 0.625 kB / 0.7477 GB, free: 332 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.004808, allocations: 3.938 kB / 0.7477 GB, free: 328 kB / 0.7136 GB 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.000452/0.00526, allocations: 321.4 kB / 0.748 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.005291, allocations: 8.031 kB / 0.748 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.005329, allocations: 9.547 kB / 0.748 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.201e-05/0.005411, allocations: 113.7 kB / 0.7481 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.005436, allocations: 8.969 kB / 0.7481 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.005457, allocations: 9.828 kB / 0.7481 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.005617, allocations: 134.3 kB / 0.7483 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.005627, allocations: 192 / 0.7483 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.005636, allocations: 384 / 0.7483 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.005644, allocations: 5.5 kB / 0.7483 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.005679, allocations: 26.3 kB / 0.7483 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.005987, allocations: 208.8 kB / 0.7485 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.006091, allocations: 47.2 kB / 0.7485 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.006112, allocations: 21.59 kB / 0.7486 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.006132, allocations: 7.938 kB / 0.7486 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.006157, allocations: 36.03 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.006158, allocations: 3.984 kB / 0.7486 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0007264/0.006885, allocations: 446.2 kB / 0.749 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.006909, allocations: 55.91 kB / 0.7491 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.007092, allocations: 99.47 kB / 0.7492 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.007104, allocations: 29.7 kB / 0.7492 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.007136, allocations: 110.4 kB / 0.7493 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.007161, allocations: 35.66 kB / 0.7494 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.007192, allocations: 29.69 kB / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.007261, allocations: 322.8 kB / 0.7497 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.007277, allocations: 8 kB / 0.7497 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.007295, allocations: 15.98 kB / 0.7497 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.007335, allocations: 28.84 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007336, allocations: 2.75 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.965e-05/0.007406, allocations: 83.8 kB / 0.7498 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007418, allocations: 4 kB / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007421, allocations: 4 kB / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.007433, allocations: 0 / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.007516, allocations: 31.91 kB / 0.7499 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.007519, allocations: 4 kB / 0.7499 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.00754, allocations: 6.594 kB / 0.7499 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007545, allocations: 4 kB / 0.7499 GB, free: 13.89 MB / 0.7292 GB 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.36e-05/0.007599, allocations: 109.8 kB / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.007618, allocations: 11.92 kB / 0.75 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.007728, allocations: 81.72 kB / 0.7501 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.00773, allocations: 4 kB / 0.7501 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.007732, allocations: 1 kB / 0.7501 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.007734, allocations: 0 / 0.7501 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.007949, allocations: 244.4 kB / 0.7503 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.00795, allocations: 0 / 0.7503 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.008028, allocations: 31.91 kB / 0.7503 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.008037, allocations: 7.953 kB / 0.7503 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008039, allocations: 0 / 0.7503 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.008046, allocations: 1.125 kB / 0.7503 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008047, allocations: 0 / 0.7503 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.008049, allocations: 4 kB / 0.7503 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.008189, allocations: 184.4 kB / 0.7505 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.008201, allocations: 7.984 kB / 0.7505 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.008242, allocations: 1.125 kB / 0.7505 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.00826, allocations: 7.984 kB / 0.7505 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.008266, allocations: 8.594 kB / 0.7505 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.966e-06/0.008275, allocations: 9.047 kB / 0.7506 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008275, allocations: 0.7812 kB / 0.7506 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001637/0.008438, allocations: 55.8 kB / 0.7506 GB, free: 13.08 MB / 0.7292 GB 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.0002401/0.008678, allocations: 141.8 kB / 0.7507 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.008791, allocations: 48.89 kB / 0.7508 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.008798, allocations: 4 kB / 0.7508 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.129e-05/0.00884, allocations: 46.14 kB / 0.7508 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.009035, allocations: 75.42 kB / 0.7509 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.01007, allocations: 210.8 kB / 0.7511 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.241e-05/0.0101, allocations: 59.36 kB / 0.7512 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.01014, allocations: 19.16 kB / 0.7512 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.0102, allocations: 63.36 kB / 0.7512 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.0102, allocations: 0.9375 kB / 0.7512 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.003106/0.0133, allocations: 1.56 MB / 0.7528 GB, free: 10.92 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.739148802123964]