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.0009822/0.0009822, allocations: 107.1 kB / 20.47 MB, free: 4.605 MB / 13.93 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.0009926/0.0009926, allocations: 225.5 kB / 23.78 MB, free: 2.102 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.9742/0.9742, allocations: 230.6 MB / 257.6 MB, free: 9.598 MB / 202.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.962/1.962, allocations: 0.505 GB / 0.8116 GB, free: 2.363 MB / 0.6511 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 0.005029/0.005029, allocations: 63.91 kB / 1.178 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.7575, allocations: 180.1 MB / 1.354 GB, free: 1.055 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001647/0.7592, allocations: 1.322 MB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0006729/0.7599, allocations: 0.5566 MB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.7599, allocations: 0 / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.7599, allocations: 0 / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.7599, allocations: 7.922 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.7603, allocations: 158.3 kB / 1.356 GB, free: 15.01 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.7604, allocations: 27.86 kB / 1.356 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.7604, allocations: 19.97 kB / 1.356 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.7605, allocations: 8 kB / 1.356 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.7605, allocations: 15.92 kB / 1.356 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.7605, allocations: 0 / 1.356 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.7608, allocations: 315.4 kB / 1.356 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.7608, allocations: 0 / 1.356 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.7609, allocations: 19.92 kB / 1.356 GB, free: 14.61 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.761, allocations: 141.4 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.761, allocations: 4 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.761, allocations: 0 / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.761, allocations: 7.938 kB / 1.356 GB, free: 14.46 MB / 1.042 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.000308/0.7614, allocations: 297.9 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.7614, allocations: 11.98 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.7614, allocations: 4.938 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.891e-05/0.7615, allocations: 102.5 kB / 1.357 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.7615, allocations: 8.312 kB / 1.357 GB, free: 13.99 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.7615, allocations: 4.375 kB / 1.357 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.7616, allocations: 97.66 kB / 1.357 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.7616, allocations: 4.188 kB / 1.357 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.7616, allocations: 15.92 kB / 1.357 GB, free: 13.85 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7617, allocations: 0 / 1.357 GB, free: 13.85 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.7617, allocations: 15.94 kB / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.7618, allocations: 113.3 kB / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.7619, allocations: 58.5 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.7619, allocations: 28.84 kB / 1.357 GB, free: 13.6 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.7619, allocations: 7.984 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.762, allocations: 30.56 kB / 1.357 GB, free: 13.55 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.762, allocations: 0 / 1.357 GB, free: 13.55 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0007967/0.7627, allocations: 455.6 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.7628, allocations: 59.34 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.7628, allocations: 97.86 kB / 1.358 GB, free: 12.88 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.7628, allocations: 25.7 kB / 1.358 GB, free: 12.84 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.042e-05/0.7628, allocations: 80.14 kB / 1.358 GB, free: 12.76 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.7629, allocations: 47.62 kB / 1.358 GB, free: 12.71 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.7629, allocations: 29.7 kB / 1.358 GB, free: 12.68 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.763, allocations: 319 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.763, allocations: 23.98 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.763, allocations: 19.98 kB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.346e-05/0.7631, allocations: 56.86 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.7631, allocations: 0 / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.01e-05/0.7632, allocations: 97.67 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.7632, allocations: 11.88 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.7632, allocations: 0 / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.7632, allocations: 0 / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.7633, allocations: 24 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.7633, allocations: 0 / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.7633, allocations: 4 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.7633, allocations: 7.984 kB / 1.358 GB, free: 12.11 MB / 1.042 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.009e-05/0.7633, allocations: 113.8 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-06/0.7634, allocations: 7.891 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.7635, allocations: 117.6 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.7635, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.7635, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.7635, allocations: 3.984 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.7637, allocations: 298.1 kB / 1.359 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7637, allocations: 0 / 1.359 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.7638, allocations: 23.98 kB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7638, allocations: 0 / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.7638, allocations: 4 kB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7638, allocations: 0 / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7638, allocations: 0 / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.764, allocations: 216 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.764, allocations: 7.938 kB / 1.359 GB, free: 11.26 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.764, allocations: 7.969 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.577e-05/0.764, allocations: 4 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.764, allocations: 7.984 kB / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.7641, allocations: 8 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of sorting global known variables: time 1.978e-05/0.7641, allocations: 83.28 kB / 1.359 GB, free: 11.15 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7641, allocations: 0 / 1.359 GB, free: 11.15 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001703/0.7642, allocations: 51.8 kB / 1.359 GB, free: 11.1 MB / 1.042 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.0001654/0.7644, allocations: 155 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.7645, allocations: 55.92 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.7645, allocations: 0 / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.7645, allocations: 31.98 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.7647, allocations: 7.938 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.7651, allocations: 318.8 kB / 1.36 GB, free: 10.5 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.093e-05/0.7651, allocations: 71.33 kB / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.7651, allocations: 19.38 kB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of SimCode: time 3.6e-07/0.7651, allocations: 0 / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of Templates: time 0.00198/0.7671, allocations: 1.375 MB / 1.361 GB, free: 9.027 MB / 1.042 GB " [Timeout remaining time 299] 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.845507573336363]