Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0008415/0.0008415, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008012/0.0008012, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9111/0.9111, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.625/1.625, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.083e-05, allocations: 6.281 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001507/0.001528, allocations: 1.29 MB / 0.953 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000767/0.002295, allocations: 0.5493 MB / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.002327, allocations: 0 / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.002349, allocations: 3.938 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.002396, allocations: 3.984 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.002851, allocations: 154.2 kB / 0.9537 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.002923, allocations: 19.94 kB / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.002974, allocations: 0 / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.003041, allocations: 15.92 kB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.003099, allocations: 11.92 kB / 0.9537 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.003116, allocations: 4 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.003392, allocations: 263.4 kB / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.003407, allocations: 4 kB / 0.954 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.003428, allocations: 7.984 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.003638, allocations: 163.4 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00364, allocations: 4 kB / 0.9542 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003641, allocations: 0 / 0.9542 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.003646, allocations: 0 / 0.9542 GB, free: 0.5039 MB / 0.9011 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.0004557/0.004102, allocations: 286 kB / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.004145, allocations: 8.031 kB / 0.9544 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.004185, allocations: 4.938 kB / 0.9544 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.00428, allocations: 109.7 kB / 0.9545 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.004295, allocations: 4.375 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.004318, allocations: 384 / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.00446, allocations: 75.94 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.004468, allocations: 4.188 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.00448, allocations: 384 / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.004485, allocations: 384 / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.004524, allocations: 11.88 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.004653, allocations: 109.3 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.004855, allocations: 38.61 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.004883, allocations: 16.86 kB / 0.9548 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.004906, allocations: 0 / 0.9548 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.00493, allocations: 38.5 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.004931, allocations: 3.938 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0005613/0.005492, allocations: 241.2 kB / 0.9551 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.005525, allocations: 55.34 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.318e-05/0.005578, allocations: 97.86 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.005588, allocations: 25.7 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.005615, allocations: 84.14 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.005645, allocations: 19.84 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.005679, allocations: 21.72 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.005762, allocations: 310.8 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.005787, allocations: 15.98 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.005803, allocations: 8 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.005853, allocations: 40.98 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.005854, allocations: 0 / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.178e-05/0.005936, allocations: 73.58 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.005949, allocations: 7.938 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.005954, allocations: 0 / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.005971, allocations: 7.984 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.052e-05/0.006011, allocations: 8 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.00602, allocations: 3.938 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.006031, allocations: 0 / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.006038, allocations: 4 kB / 0.9558 GB, free: 14.59 MB / 0.9167 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.865e-05/0.006097, allocations: 113.8 kB / 0.9559 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.006103, allocations: 4 kB / 0.9559 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.006206, allocations: 73.73 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006208, allocations: 0.5156 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.006213, allocations: 3.938 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006216, allocations: 4 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.00645, allocations: 255.3 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.006454, allocations: 7.984 kB / 0.9563 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.006496, allocations: 8 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.006501, allocations: 7.984 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.006511, allocations: 11.97 kB / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006512, allocations: 0 / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006513, allocations: 0 / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.006645, allocations: 180.3 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.00666, allocations: 4.031 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.006676, allocations: 11.88 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.592e-05/0.006722, allocations: 0 / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.006739, allocations: 7.984 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.006744, allocations: 4 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.006767, allocations: 75.28 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006767, allocations: 0 / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001657/0.006933, allocations: 35.92 kB / 0.9566 GB, free: 13.72 MB / 0.9167 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.000145/0.007078, allocations: 119.1 kB / 0.9567 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.007171, allocations: 35.92 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007172, allocations: 0 / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.007188, allocations: 16 kB / 0.9567 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.007348, allocations: 2.031 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.007686, allocations: 203.2 kB / 0.9569 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.007729, allocations: 63.34 kB / 0.957 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.007749, allocations: 12.5 kB / 0.957 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of SimCode: time 4.8e-07/0.00775, allocations: 0 / 0.957 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of Templates: time 0.00203/0.009779, allocations: 0.842 MB / 0.9578 GB, free: 12.38 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.3840985130518675] Failed to read output from testmodel.py, exit status != 0: 0.015147083438932896 0.023176221 0.017881015 Calling exit ...