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_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.0009503/0.0009503, allocations: 84.39 kB / 20.72 MB, free: 3.82 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.0009512/0.0009512, allocations: 177.2 kB / 24 MB, free: 0.5391 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.9939/0.9939, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.955/1.955, allocations: 389.9 MB / 0.6354 GB, free: 12.27 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 1.002 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.496e-05, allocations: 14.16 kB / 1.002 GB, free: 13.19 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001577/0.001602, allocations: 1.313 MB / 1.003 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007045/0.002307, allocations: 0.5457 MB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.002336, allocations: 0 / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.002355, allocations: 3.938 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.00239, allocations: 7.938 kB / 1.004 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.002828, allocations: 162.2 kB / 1.004 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.002891, allocations: 39.84 kB / 1.004 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.002934, allocations: 0 / 1.004 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.002969, allocations: 15.98 kB / 1.004 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.003022, allocations: 11.97 kB / 1.004 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.003035, allocations: 4 kB / 1.004 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.003338, allocations: 319.3 kB / 1.004 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.003354, allocations: 3.938 kB / 1.004 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.003376, allocations: 11.98 kB / 1.004 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.003814, allocations: 171.5 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003817, allocations: 0 / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003818, allocations: 4 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.003823, allocations: 0 / 1.004 GB, free: 10.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003485/0.004171, allocations: 297.9 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.00421, allocations: 11.97 kB / 1.005 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.004245, allocations: 4.938 kB / 1.005 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.606e-05/0.004322, allocations: 105.8 kB / 1.005 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.004335, allocations: 4.359 kB / 1.005 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.004359, allocations: 4.375 kB / 1.005 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.004482, allocations: 105.6 kB / 1.005 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.004492, allocations: 192 / 1.005 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.004502, allocations: 4.375 kB / 1.005 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004506, allocations: 384 / 1.005 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.812e-05/0.004554, allocations: 23.92 kB / 1.005 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.004674, allocations: 117.3 kB / 1.005 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/0.004767, allocations: 58.58 kB / 1.005 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.004799, allocations: 29 kB / 1.005 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.00482, allocations: 3.984 kB / 1.005 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.004842, allocations: 34.56 kB / 1.005 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 6.31e-07/0.004842, allocations: 0 / 1.005 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0007777/0.00562, allocations: 447.6 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.005647, allocations: 51.41 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.0057, allocations: 93.86 kB / 1.006 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.005711, allocations: 29.7 kB / 1.006 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.005738, allocations: 88.12 kB / 1.006 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.005769, allocations: 39.64 kB / 1.006 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.005801, allocations: 29.7 kB / 1.006 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.005865, allocations: 318.8 kB / 1.006 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.038e-05/0.005896, allocations: 28.05 kB / 1.006 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.005924, allocations: 27.98 kB / 1.006 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.549e-05/0.00599, allocations: 48.86 kB / 1.006 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.005991, allocations: 96 / 1.006 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.977e-05/0.006091, allocations: 101.6 kB / 1.006 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.006104, allocations: 7.984 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006109, allocations: 8 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.006124, allocations: 3.938 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.0062, allocations: 19.94 kB / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.006205, allocations: 0 / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.006219, allocations: 8 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.006225, allocations: 4 kB / 1.006 GB, free: 8.223 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 (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.465e-05/0.00628, allocations: 118.4 kB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.006289, allocations: 4 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.006424, allocations: 101.7 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.006426, allocations: 7.938 kB / 1.007 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.00643, allocations: 0 / 1.007 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006433, allocations: 3.984 kB / 1.007 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.00671, allocations: 286.2 kB / 1.007 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006712, allocations: 0 / 1.007 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.006784, allocations: 27.92 kB / 1.007 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.006789, allocations: 7.938 kB / 1.007 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.006796, allocations: 4 kB / 1.007 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006798, allocations: 0 / 1.007 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.0068, allocations: 3.984 kB / 1.007 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.006966, allocations: 215.7 kB / 1.007 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.006973, allocations: 7.984 kB / 1.007 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.006995, allocations: 11.92 kB / 1.007 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.007045, allocations: 0 / 1.007 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.007059, allocations: 7.984 kB / 1.007 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.007067, allocations: 8 kB / 1.007 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.291e-05/0.00709, allocations: 83.28 kB / 1.007 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00709, allocations: 4 kB / 1.007 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000202/0.007292, allocations: 51.8 kB / 1.007 GB, free: 7.219 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002028/0.007495, allocations: 155 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.007603, allocations: 58.55 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.007611, allocations: 4 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.00764, allocations: 31.92 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.007798, allocations: 11.94 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.008186, allocations: 273.3 kB / 1.008 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.008231, allocations: 75.23 kB / 1.008 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.008255, allocations: 12.5 kB / 1.008 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.008256, allocations: 0 / 1.008 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of Templates: time 0.002215/0.01047, allocations: 1.375 MB / 1.009 GB, free: 5.188 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.023004291579127]