Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 113.3 kB / 17.08 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 193.2 kB / 20.03 MB, free: 3.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 437.1 MB / 0.7177 GB, free: 4.543 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 1.028 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 151.6 MB / 1.176 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002498/0.3356, allocations: 1.269 MB / 1.177 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3368, allocations: 0.6153 MB / 1.178 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.3368, allocations: 0 / 1.178 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.3369, allocations: 0 / 1.178 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.3369, allocations: 15.88 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.3375, allocations: 151.2 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.75e-05/0.3376, allocations: 19.92 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.3377, allocations: 4 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.3377, allocations: 15.92 kB / 1.178 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.3378, allocations: 7.984 kB / 1.178 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3378, allocations: 0 / 1.178 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.3383, allocations: 343.3 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.3384, allocations: 4 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.3384, allocations: 15.92 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.3387, allocations: 147.5 kB / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3387, allocations: 0 / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3387, allocations: 0 / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.3387, allocations: 0 / 1.178 GB, free: 3.398 MB / 0.92 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.0005332/0.3393, allocations: 365.3 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3393, allocations: 12.03 kB / 1.179 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3393, allocations: 0.9375 kB / 1.179 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3395, allocations: 172.3 kB / 1.179 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3395, allocations: 8.375 kB / 1.179 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3396, allocations: 384 / 1.179 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.3397, allocations: 50.12 kB / 1.179 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3397, allocations: 192 / 1.179 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3397, allocations: 3.938 kB / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3397, allocations: 0 / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.3398, allocations: 12 kB / 1.179 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.34, allocations: 153.7 kB / 1.179 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.3402, allocations: 46.61 kB / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.3403, allocations: 24.88 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3403, allocations: 0 / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3403, allocations: 34.56 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3403, allocations: 0 / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.000685/0.341, allocations: 306.6 kB / 1.18 GB, free: 2.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3411, allocations: 63.39 kB / 1.18 GB, free: 1.945 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.3412, allocations: 97.84 kB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3412, allocations: 25.7 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.3412, allocations: 88.14 kB / 1.18 GB, free: 1.719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.3413, allocations: 19.78 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.3413, allocations: 17.72 kB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3415, allocations: 322.8 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.3415, allocations: 11.98 kB / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.162e-05/0.3415, allocations: 12 kB / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.3416, allocations: 36.8 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3416, allocations: 0 / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001013/0.3417, allocations: 65.64 kB / 1.18 GB, free: 1.219 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3418, allocations: 7.938 kB / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3418, allocations: 0 / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3418, allocations: 0 / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.3418, allocations: 15.98 kB / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3418, allocations: 0 / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.3419, allocations: 8 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.3419, allocations: 0 / 1.18 GB, free: 1.188 MB / 0.92 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 9.337e-05/0.342, allocations: 113.8 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.342, allocations: 3.938 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.3422, allocations: 77.64 kB / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3422, allocations: 0 / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3422, allocations: 0 / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3422, allocations: 3.938 kB / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.3426, allocations: 319.5 kB / 1.181 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3426, allocations: 8 kB / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.3426, allocations: 11.98 kB / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3427, allocations: 0 / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3427, allocations: 4 kB / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3427, allocations: 0 / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3427, allocations: 0 / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.3429, allocations: 188.3 kB / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.343, allocations: 85.12 kB / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.343, allocations: 4 kB / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.3431, allocations: 4 kB / 1.181 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.3431, allocations: 3.984 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.3431, allocations: 4 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.3432, allocations: 75.28 kB / 1.181 GB, free: 184 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3432, allocations: 0 / 1.181 GB, free: 184 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002501/0.3434, allocations: 27.88 kB / 1.181 GB, free: 156 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0002045/0.3436, allocations: 123.2 kB / 1.181 GB, free: 24 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.3438, allocations: 36 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.3438, allocations: 3.938 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.3438, allocations: 23.92 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3441, allocations: 5.359 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.3445, allocations: 230 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3449, allocations: 0.6807 MB / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.3449, allocations: 11.42 kB / 1.182 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3449, allocations: 8 kB / 1.182 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.002647/0.3475, allocations: 0.7922 MB / 1.183 GB, free: 14.19 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.372424660017714] Failed to read output from testmodel.py, exit status != 0: 0.35524875402916223 0.36806924700000004 0.026775912000000002 Calling exit ...