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.0009311/0.0009311, allocations: 80.41 kB / 20.72 MB, free: 3.824 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.0009545/0.0009545, allocations: 173.2 kB / 24 MB, free: 0.543 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.9275/0.9275, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.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.898/1.898, allocations: 389.9 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.513e-06/1.513e-06, allocations: 0 / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.542e-05, allocations: 2.281 kB / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001748/0.001774, allocations: 1.294 MB / 1.003 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007053/0.002479, allocations: 0.5457 MB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.00251, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.002529, allocations: 3.938 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.002571, allocations: 7.922 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.003043, allocations: 163.2 kB / 1.004 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.003108, allocations: 15.94 kB / 1.004 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.003154, allocations: 3.984 kB / 1.004 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.003208, allocations: 15.94 kB / 1.004 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.003253, allocations: 11.97 kB / 1.004 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.003265, allocations: 0 / 1.004 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.003555, allocations: 315.3 kB / 1.004 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.00357, allocations: 4 kB / 1.004 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.003591, allocations: 11.94 kB / 1.004 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.003789, allocations: 159.5 kB / 1.004 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003792, allocations: 0 / 1.004 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.863e-06/0.003793, allocations: 0 / 1.004 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.003799, allocations: 0 / 1.004 GB, free: 10.66 MB / 0.9636 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.0003549/0.004154, allocations: 289.9 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.004191, allocations: 15.97 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.004224, allocations: 0.9375 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.219e-05/0.004296, allocations: 105.8 kB / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.004307, allocations: 384 / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.004329, allocations: 4.359 kB / 1.005 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.004438, allocations: 71.95 kB / 1.005 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004445, allocations: 192 / 1.005 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.004455, allocations: 384 / 1.005 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004459, allocations: 384 / 1.005 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.004498, allocations: 19.92 kB / 1.005 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.004617, allocations: 105.3 kB / 1.005 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.0048, allocations: 42.55 kB / 1.005 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.004829, allocations: 20.94 kB / 1.005 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.00485, allocations: 0 / 1.005 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.004875, allocations: 42.56 kB / 1.005 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.004876, allocations: 4 kB / 1.005 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0005213/0.005397, allocations: 233.1 kB / 1.005 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.005431, allocations: 59.34 kB / 1.005 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.005485, allocations: 101.8 kB / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.005495, allocations: 25.7 kB / 1.005 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.005519, allocations: 80.14 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.005546, allocations: 23.8 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.005576, allocations: 25.64 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.00565, allocations: 314.8 kB / 1.006 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.005669, allocations: 8 kB / 1.006 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.005686, allocations: 20.05 kB / 1.006 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.00573, allocations: 36.86 kB / 1.006 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.005731, allocations: 0 / 1.006 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.858e-05/0.0058, allocations: 57.69 kB / 1.006 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.005813, allocations: 8 kB / 1.006 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.005818, allocations: 3.938 kB / 1.006 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.005832, allocations: 0 / 1.006 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.951e-05/0.005872, allocations: 11.94 kB / 1.006 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.005879, allocations: 11.92 kB / 1.006 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.005889, allocations: 0 / 1.006 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005895, allocations: 8 kB / 1.006 GB, free: 8.73 MB / 0.9636 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.478e-05/0.00595, allocations: 110.4 kB / 1.006 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.005957, allocations: 4.469 kB / 1.006 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.006062, allocations: 69.81 kB / 1.006 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.006063, allocations: 4 kB / 1.006 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.00607, allocations: 7.922 kB / 1.006 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.006073, allocations: 0 / 1.006 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.006315, allocations: 259 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.006316, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.00636, allocations: 19.98 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.006362, allocations: 4.031 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.006368, allocations: 7.875 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006369, allocations: 0 / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.00637, allocations: 7.938 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.006505, allocations: 164.4 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.006527, allocations: 16.16 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.006544, allocations: 7.938 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.006595, allocations: 4 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.006611, allocations: 3.984 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.006617, allocations: 4 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.491e-05/0.006642, allocations: 83.34 kB / 1.007 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006642, allocations: 4 kB / 1.007 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000175/0.006817, allocations: 27.88 kB / 1.007 GB, free: 7.863 MB / 0.9636 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.0001709/0.006988, allocations: 143 kB / 1.007 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.861e-05/0.007076, allocations: 27.98 kB / 1.007 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.007078, allocations: 0 / 1.007 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.007095, allocations: 19.94 kB / 1.007 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.007261, allocations: 8 kB / 1.007 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.007595, allocations: 195.3 kB / 1.007 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.308e-05/0.007638, allocations: 71.19 kB / 1.007 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.007659, allocations: 12.5 kB / 1.007 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of SimCode: time 7.72e-07/0.00766, allocations: 0 / 1.007 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of Templates: time 0.001973/0.009633, allocations: 0.9545 MB / 1.008 GB, free: 6.387 MB / 0.9636 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 > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.2412914633750916]