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.0009713/0.0009713, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002263, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007062/0.0007062, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008972/0.001603, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9917/0.9917, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08484/1.077, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.996/1.996, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4784/2.474, allocations: 127.1 MB / 0.7432 GB, free: 4.609 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 2.154e-06/2.154e-06, allocations: 0 / 0.7445 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.543e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002596/0.002612, allocations: 1.598 MB / 0.7461 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003621, allocations: 0.6058 MB / 0.7466 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.003655, allocations: 0 / 0.7466 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.003686, allocations: 7.188 kB / 0.7467 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.922e-05/0.003725, allocations: 6.281 kB / 0.7467 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.004284, allocations: 165.4 kB / 0.7468 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.004382, allocations: 52.34 kB / 0.7469 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.004432, allocations: 11.56 kB / 0.7469 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.004551, allocations: 35.95 kB / 0.7469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.004606, allocations: 27.89 kB / 0.7469 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.004623, allocations: 4 kB / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.005116, allocations: 251.5 kB / 0.7472 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.005137, allocations: 8 kB / 0.7472 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.005169, allocations: 15.94 kB / 0.7472 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.005465, allocations: 155.5 kB / 0.7474 GB, free: 424 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2e-05/0.005485, allocations: 0 / 0.7474 GB, free: 424 kB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005486, allocations: 0 / 0.7474 GB, free: 424 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.407e-05/0.00551, allocations: 2.812 kB / 0.7474 GB, free: 424 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.000601/0.006111, allocations: 320.1 kB / 0.7477 GB, free: 76 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.006148, allocations: 8.031 kB / 0.7477 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.006191, allocations: 8.938 kB / 0.7477 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.006308, allocations: 113.7 kB / 0.7478 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.006338, allocations: 4.375 kB / 0.7478 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.006369, allocations: 24.3 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.006566, allocations: 125.6 kB / 0.7479 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.006578, allocations: 4.188 kB / 0.7479 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.006587, allocations: 384 / 0.7479 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.006594, allocations: 384 / 0.7479 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.006649, allocations: 30.55 kB / 0.748 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.007036, allocations: 204.1 kB / 0.7482 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.007168, allocations: 53.3 kB / 0.7482 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.007192, allocations: 16.86 kB / 0.7482 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.007214, allocations: 160 / 0.7482 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.007246, allocations: 46.42 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.007248, allocations: 0 / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001003/0.008251, allocations: 442.4 kB / 0.7487 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.008289, allocations: 55.41 kB / 0.7487 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.008358, allocations: 103.7 kB / 0.7488 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.008375, allocations: 25.7 kB / 0.7489 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.008419, allocations: 100.6 kB / 0.749 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.008457, allocations: 39.64 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.008504, allocations: 30.41 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.008608, allocations: 322.8 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.008635, allocations: 17.38 kB / 0.7494 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.008659, allocations: 12 kB / 0.7494 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.698e-05/0.008716, allocations: 32.83 kB / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.008717, allocations: 0 / 0.7494 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001116/0.008828, allocations: 81.23 kB / 0.7495 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.008842, allocations: 4 kB / 0.7495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.008849, allocations: 4 kB / 0.7495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.008859, allocations: 1.062 kB / 0.7495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.008984, allocations: 35.91 kB / 0.7495 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.008989, allocations: 4 kB / 0.7495 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.00902, allocations: 1.031 kB / 0.7495 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-06/0.00903, allocations: 8 kB / 0.7495 GB, free: 13.98 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 6.774e-05/0.009097, allocations: 106.7 kB / 0.7496 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.009129, allocations: 16.77 kB / 0.7497 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.009274, allocations: 85.95 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.009278, allocations: 4 kB / 0.7497 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.009281, allocations: 4.859 kB / 0.7497 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.009284, allocations: 0 / 0.7497 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.00959, allocations: 236.1 kB / 0.75 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.009592, allocations: 0 / 0.75 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.009714, allocations: 35.91 kB / 0.75 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.009725, allocations: 7.953 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009728, allocations: 0.6562 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009736, allocations: 0.6875 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009738, allocations: 0 / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009739, allocations: 1.719 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.009921, allocations: 183.4 kB / 0.7502 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.009938, allocations: 8 kB / 0.7502 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.01001, allocations: 7.922 kB / 0.7502 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.01003, allocations: 8.922 kB / 0.7502 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.01003, allocations: 0 / 0.7502 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.547e-05/0.01005, allocations: 12.86 kB / 0.7502 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01005, allocations: 0.5625 kB / 0.7502 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002976/0.01035, allocations: 51.8 kB / 0.7503 GB, free: 13.18 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.0002097/0.01056, allocations: 137.2 kB / 0.7504 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01068, allocations: 49.53 kB / 0.7505 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.01068, allocations: 0 / 0.7505 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.01073, allocations: 33.66 kB / 0.7505 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01094, allocations: 21.28 kB / 0.7505 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.01247, allocations: 223.3 kB / 0.7507 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.807e-05/0.01252, allocations: 63.34 kB / 0.7508 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.942e-05/0.01258, allocations: 10.2 kB / 0.7508 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.295e-05/0.01266, allocations: 68.42 kB / 0.7509 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of SimCode: time 8.11e-07/0.01266, allocations: 0 / 0.7509 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.00431/0.01697, allocations: 1.547 MB / 0.7524 GB, free: 11.11 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.832243287935853]