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_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.0007753/0.0007753, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001881, allocations: 449.7 kB / 10.33 MB, free: 372 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.000693/0.000693, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009437/0.001637, allocations: 463.6 kB / 11.66 MB, free: 2.504 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.877/0.877, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08517/0.9621, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.707/1.707, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5341/2.241, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_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="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.394e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.002035/0.002059, allocations: 1.383 MB / 0.7306 GB, free: 3.152 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.002743, allocations: 0.5943 MB / 0.7312 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.00277, allocations: 0 / 0.7312 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.577e-06/0.002778, allocations: 4 kB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.818e-05/0.002806, allocations: 5.578 kB / 0.7312 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.003312, allocations: 154.7 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.068e-05/0.003383, allocations: 32.3 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.003425, allocations: 3.984 kB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.003481, allocations: 19.98 kB / 0.7314 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.003552, allocations: 16.44 kB / 0.7314 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.003563, allocations: 0.9375 kB / 0.7314 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.003944, allocations: 331.3 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.003961, allocations: 4 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.003992, allocations: 8.5 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.004208, allocations: 136.4 kB / 0.7319 GB, free: 1.891 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.00422, allocations: 0 / 0.7319 GB, free: 1.891 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/0.004222, allocations: 0 / 0.7319 GB, free: 1.891 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.004232, allocations: 1.438 kB / 0.7319 GB, free: 1.891 MB / 0.698 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.0003594/0.004592, allocations: 292.2 kB / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.00462, allocations: 8.031 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.004652, allocations: 9.578 kB / 0.7322 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.874e-05/0.004731, allocations: 105.8 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.004739, allocations: 1.062 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.004767, allocations: 12.27 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.004873, allocations: 99.36 kB / 0.7324 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.004886, allocations: 4.172 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.004896, allocations: 4.375 kB / 0.7324 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.004904, allocations: 4.375 kB / 0.7324 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.554e-05/0.00494, allocations: 16.73 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.005041, allocations: 64.98 kB / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.668e-05/0.005118, allocations: 51.11 kB / 0.7325 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.005142, allocations: 26.39 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.00516, allocations: 0 / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.005185, allocations: 34.56 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.005186, allocations: 4 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0008375/0.006023, allocations: 435.1 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.006059, allocations: 56.09 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.006113, allocations: 108.3 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.006126, allocations: 33.7 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.006145, allocations: 80.14 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.006183, allocations: 43.58 kB / 0.7333 GB, free: 252 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.006223, allocations: 29.69 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.006348, allocations: 319.4 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.006364, allocations: 11.98 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.006378, allocations: 16.38 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.006431, allocations: 32.83 kB / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006431, allocations: 0.5312 kB / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.601e-05/0.006507, allocations: 69.67 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.00652, allocations: 5.125 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006525, allocations: 0 / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.006535, allocations: 3.938 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.006609, allocations: 24.7 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006612, allocations: 7.938 kB / 0.7338 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.006626, allocations: 0.9375 kB / 0.7338 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.00663, allocations: 0 / 0.7338 GB, free: 15.72 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 (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.794e-05/0.006688, allocations: 115.1 kB / 0.7339 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.006698, allocations: 8 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.006821, allocations: 81.75 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.006824, allocations: 5.031 kB / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006826, allocations: 0 / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.00683, allocations: 4.5 kB / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.007045, allocations: 226.8 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007046, allocations: 1.75 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.007122, allocations: 27.92 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007124, allocations: 0 / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.007131, allocations: 0 / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.007133, allocations: 0 / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.007136, allocations: 9.156 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.007294, allocations: 179.8 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.007304, allocations: 7.953 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.007314, allocations: 8.672 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.007354, allocations: 4 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.00737, allocations: 12.48 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.007378, allocations: 12.75 kB / 0.7345 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.091e-05/0.007389, allocations: 4.859 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007389, allocations: 1.031 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002087/0.007597, allocations: 63.73 kB / 0.7346 GB, free: 14.9 MB / 0.7136 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.0002631/0.007861, allocations: 153.2 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.882e-05/0.007949, allocations: 48.78 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.007953, allocations: 0.5625 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.007976, allocations: 30 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.008084, allocations: 8 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.008637, allocations: 260.9 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.302e-05/0.00869, allocations: 68.52 kB / 0.7351 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/0.008764, allocations: 67.36 kB / 0.7352 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/0.008765, allocations: 0 / 0.7352 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.002301/0.01107, allocations: 1.452 MB / 0.7366 GB, free: 12.88 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.334136202931404]