Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.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.0006677/0.0006677, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008994/0.001567, 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.0006978/0.0006978, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000885/0.001583, 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.9259/0.9259, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08542/1.011, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.923/1.923, allocations: 389.9 MB / 0.619 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4804/2.403, allocations: 127.1 MB / 0.7432 GB, free: 4.586 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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7445 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.21e-05, allocations: 6.359 kB / 0.7445 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001484/0.001496, allocations: 1.384 MB / 0.7459 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006225/0.002119, allocations: 0.5906 MB / 0.7464 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.002135, allocations: 0 / 0.7464 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.213e-06/0.002142, allocations: 0.7812 kB / 0.7464 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.356e-05/0.002166, allocations: 9.562 kB / 0.7464 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.002461, allocations: 148.4 kB / 0.7466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.00252, allocations: 23.64 kB / 0.7466 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.002561, allocations: 0 / 0.7466 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.667e-05/0.002627, allocations: 19.97 kB / 0.7466 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.002679, allocations: 4 kB / 0.7466 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.002694, allocations: 5.312 kB / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.003067, allocations: 331.2 kB / 0.747 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.003078, allocations: 0 / 0.747 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.003093, allocations: 4 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.003269, allocations: 132.8 kB / 0.7471 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.003281, allocations: 0 / 0.7471 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003282, allocations: 0 / 0.7471 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.003294, allocations: 8.844 kB / 0.7471 GB, free: 0.6641 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000313/0.003607, allocations: 272.2 kB / 0.7473 GB, free: 380 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.003634, allocations: 12.62 kB / 0.7474 GB, free: 368 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.003657, allocations: 4.938 kB / 0.7474 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.00373, allocations: 114.8 kB / 0.7475 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.003738, allocations: 384 / 0.7475 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.003757, allocations: 4.375 kB / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.13e-05/0.003828, allocations: 61.42 kB / 0.7475 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.003834, allocations: 192 / 0.7475 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.003841, allocations: 4.375 kB / 0.7475 GB, free: 144 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003846, allocations: 4.375 kB / 0.7475 GB, free: 140 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.003865, allocations: 8.562 kB / 0.7476 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.767e-05/0.003943, allocations: 65.66 kB / 0.7476 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.004063, allocations: 35.83 kB / 0.7477 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.004091, allocations: 16.94 kB / 0.7477 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.004107, allocations: 0 / 0.7477 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.004126, allocations: 35.5 kB / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.004128, allocations: 3.984 kB / 0.7477 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0004154/0.004543, allocations: 233.9 kB / 0.7479 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.004569, allocations: 55.91 kB / 0.748 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.442e-05/0.004614, allocations: 105.2 kB / 0.7481 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.004623, allocations: 25.7 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.004644, allocations: 88.12 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.004672, allocations: 15.84 kB / 0.7482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.0047, allocations: 21.72 kB / 0.7482 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.00477, allocations: 322.8 kB / 0.7485 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.00478, allocations: 4 kB / 0.7485 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-06/0.004789, allocations: 11.02 kB / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.004817, allocations: 20.84 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.004818, allocations: 0 / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.852e-05/0.004866, allocations: 57.61 kB / 0.7486 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.004878, allocations: 10.66 kB / 0.7486 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.004882, allocations: 0 / 0.7486 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.862e-06/0.004889, allocations: 0 / 0.7486 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.784e-05/0.004927, allocations: 15.98 kB / 0.7486 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.00493, allocations: 0.5625 kB / 0.7486 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.00494, allocations: 3.938 kB / 0.7487 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.004944, allocations: 0.5938 kB / 0.7487 GB, free: 14.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 (7): * Single equations (assignments): 7 * 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.659e-05/0.004991, allocations: 117.2 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.004997, allocations: 4 kB / 0.7488 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.005069, allocations: 61.8 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.00507, allocations: 0 / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.005071, allocations: 4 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005074, allocations: 0 / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.005229, allocations: 211.6 kB / 0.749 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00523, allocations: 0 / 0.749 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.005266, allocations: 15.33 kB / 0.749 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.005277, allocations: 4 kB / 0.7491 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005279, allocations: 0 / 0.7491 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.005286, allocations: 8 kB / 0.7491 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.005287, allocations: 3.938 kB / 0.7491 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.005289, allocations: 0 / 0.7491 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.483e-05/0.005383, allocations: 160.3 kB / 0.7492 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.005391, allocations: 0 / 0.7492 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/0.005424, allocations: 0 / 0.7492 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.005436, allocations: 16.36 kB / 0.7492 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.00544, allocations: 0.5312 kB / 0.7492 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.257e-06/0.005449, allocations: 8.859 kB / 0.7492 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005449, allocations: 0.625 kB / 0.7492 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001499/0.005599, allocations: 47.8 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0001368/0.005736, allocations: 129.6 kB / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.102e-05/0.005797, allocations: 36.77 kB / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.0058, allocations: 0.5312 kB / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.304e-05/0.005813, allocations: 18.55 kB / 0.7495 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.005916, allocations: 8.609 kB / 0.7495 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.006585, allocations: 159.8 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.006615, allocations: 59.36 kB / 0.7497 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.178e-05/0.006636, allocations: 5.719 kB / 0.7497 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.006673, allocations: 59.36 kB / 0.7497 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.006673, allocations: 0 / 0.7497 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.002553/0.009226, allocations: 1.093 MB / 0.7508 GB, free: 12.66 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.683531960472465]