Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001584/0.001584, allocations: 100.2 kB / 19.74 MB, free: 2.066 MB / 14.72 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.001765/0.001765, allocations: 223.8 kB / 23.05 MB, free: 4.848 MB / 14.72 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 1.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 69.61 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002866/0.3367, allocations: 1.482 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3379, allocations: 0.5643 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.3379, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.3379, allocations: 3.938 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.481e-05/0.338, allocations: 3.938 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.3386, allocations: 167.3 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.418e-05/0.3387, allocations: 51.84 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.3387, allocations: 7.984 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.3388, allocations: 19.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.3388, allocations: 27.84 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3389, allocations: 7.938 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.3393, allocations: 267.5 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.3393, allocations: 15.98 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.3393, allocations: 23.86 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.3396, allocations: 171.4 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3396, allocations: 7.984 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3397, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3397, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000589/0.3402, allocations: 317.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3403, allocations: 8.031 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.3403, allocations: 8.891 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3404, allocations: 110.5 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3405, allocations: 8.375 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3405, allocations: 12.33 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.3408, allocations: 133.6 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3408, allocations: 192 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3408, allocations: 7.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3408, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.341, allocations: 47.95 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.3416, allocations: 260.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.3418, allocations: 78.53 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.342, allocations: 28.84 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.342, allocations: 160 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.342, allocations: 34.56 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.342, allocations: 3.938 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.00159/0.3436, allocations: 0.4957 MB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3436, allocations: 59.34 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.3437, allocations: 105.8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3438, allocations: 25.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.3438, allocations: 96.09 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.3439, allocations: 39.67 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.3439, allocations: 37.64 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3441, allocations: 326.8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3442, allocations: 27.97 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3443, allocations: 35.97 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3446, allocations: 68.84 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3446, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003214/0.3449, allocations: 118.8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3449, allocations: 8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3449, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.345, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3451, allocations: 27.98 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3451, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.184e-05/0.3452, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3452, allocations: 11.92 kB / 1.332 GB, free: 11.42 MB / 1.029 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 0.0001017/0.3453, allocations: 118.4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3453, allocations: 7.953 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.3457, allocations: 137.5 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3457, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3457, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3457, allocations: 3.984 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.3463, allocations: 314.1 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3463, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3464, allocations: 31.97 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3464, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3464, allocations: 4 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3464, allocations: 8 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3464, allocations: 3.938 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.347, allocations: 251.3 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.347, allocations: 11.98 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.347, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3471, allocations: 7.984 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.3472, allocations: 15.92 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3472, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.3472, allocations: 79.34 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3472, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002853/0.3475, allocations: 43.86 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002348/0.3477, allocations: 131.1 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.3481, allocations: 80.83 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3481, allocations: 0 / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3482, allocations: 43.97 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3485, allocations: 12.61 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.3492, allocations: 336.5 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.141e-05/0.3493, allocations: 75.33 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.3493, allocations: 23.42 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3493, allocations: 0 / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of Templates: time 0.003255/0.3526, allocations: 1.355 MB / 1.335 GB, free: 8.223 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.971391404047608] Failed to read output from testmodel.py, exit status != 0: 0.3612177949398756 0.376555883 0.033802387 Calling exit ...