Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008974/0.0008974, allocations: 87.73 kB / 20.91 MB, free: 3.348 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.003323/0.003323, allocations: 154.1 kB / 24.33 MB, free: 8.551 MB / 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.9461/0.9461, allocations: 177.2 MB / 204.8 MB, free: 5.379 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.843/1.843, allocations: 378.2 MB / 0.6245 GB, free: 7.949 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.229e-05, allocations: 3.344 kB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001775/0.001797, allocations: 1.373 MB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.002723, allocations: 0.5961 MB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.002754, allocations: 1 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.002774, allocations: 0 / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.00282, allocations: 5.406 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.003363, allocations: 152.4 kB / 0.7629 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.003436, allocations: 19.92 kB / 0.7629 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.00348, allocations: 5.766 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.003554, allocations: 15.94 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.003614, allocations: 7.984 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.003626, allocations: 0 / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.004051, allocations: 327.2 kB / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.004069, allocations: 8.828 kB / 0.7632 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.004088, allocations: 11.94 kB / 0.7633 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.004298, allocations: 152.3 kB / 0.7634 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004301, allocations: 0 / 0.7634 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004301, allocations: 4.75 kB / 0.7634 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.004304, allocations: 0 / 0.7634 GB, free: 3.25 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.0003208/0.004625, allocations: 256.9 kB / 0.7636 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.004658, allocations: 8.531 kB / 0.7637 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.004686, allocations: 8.922 kB / 0.7637 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.26e-05/0.004778, allocations: 125.4 kB / 0.7638 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.004788, allocations: 384 / 0.7638 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.004809, allocations: 384 / 0.7638 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.188e-05/0.004891, allocations: 63.95 kB / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004897, allocations: 192 / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.004904, allocations: 384 / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.00491, allocations: 384 / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.004933, allocations: 15.92 kB / 0.7639 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.806e-05/0.005021, allocations: 57.05 kB / 0.7639 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.005162, allocations: 45.28 kB / 0.764 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.005179, allocations: 12.84 kB / 0.764 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.005195, allocations: 8 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.005216, allocations: 30.56 kB / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005217, allocations: 0 / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005019/0.005719, allocations: 231.2 kB / 0.7642 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.005752, allocations: 59.34 kB / 0.7643 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.006e-05/0.005802, allocations: 102.7 kB / 0.7644 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.005813, allocations: 29.7 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/0.005836, allocations: 84.69 kB / 0.7645 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.005863, allocations: 19.8 kB / 0.7645 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.005889, allocations: 24.3 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.005964, allocations: 322.8 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-06/0.005972, allocations: 4 kB / 0.7648 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.005981, allocations: 4 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.006011, allocations: 20.84 kB / 0.7649 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006012, allocations: 0 / 0.7649 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.58e-05/0.006068, allocations: 53.61 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.006081, allocations: 10.73 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006085, allocations: 0 / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.006094, allocations: 4 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.613e-05/0.00614, allocations: 15.94 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.006143, allocations: 0 / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.006155, allocations: 7.938 kB / 0.765 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.006159, allocations: 0 / 0.765 GB, free: 1.48 MB / 0.7136 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 5.022e-05/0.006209, allocations: 106.9 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.006219, allocations: 11.98 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.724e-05/0.006306, allocations: 59.16 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.006307, allocations: 0 / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.006309, allocations: 0 / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006312, allocations: 0 / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.006495, allocations: 213.1 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.006496, allocations: 0 / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.00654, allocations: 15.94 kB / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006543, allocations: 0 / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.006548, allocations: 0.5312 kB / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.00655, allocations: 4.562 kB / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006551, allocations: 0 / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.006672, allocations: 165.3 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.006689, allocations: 5.141 kB / 0.7655 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.006699, allocations: 8 kB / 0.7655 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.006734, allocations: 0 / 0.7655 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.006747, allocations: 7.875 kB / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.006752, allocations: 5 kB / 0.7655 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.181e-05/0.006764, allocations: 13.36 kB / 0.7655 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006764, allocations: 0.5938 kB / 0.7655 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001731/0.006937, allocations: 39.81 kB / 0.7656 GB, free: 0.7734 MB / 0.7136 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.0001787/0.007115, allocations: 130.4 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.807e-05/0.007184, allocations: 33.06 kB / 0.7657 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.007187, allocations: 3.938 kB / 0.7657 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.007201, allocations: 16.84 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.007318, allocations: 9.797 kB / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.007783, allocations: 191.2 kB / 0.7659 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.007819, allocations: 59.3 kB / 0.766 GB, free: 308 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.007845, allocations: 11.92 kB / 0.766 GB, free: 296 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.007889, allocations: 55.38 kB / 0.7661 GB, free: 240 kB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/0.00789, allocations: 0 / 0.7661 GB, free: 240 kB / 0.7136 GB Notification: Performance of Templates: time 0.002822/0.01071, allocations: 1.084 MB / 0.7671 GB, free: 15.25 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.852845583111048]