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.001211/0.001211, allocations: 112.6 kB / 19.7 MB, free: 2.25 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.001342/0.001342, allocations: 216.7 kB / 23.01 MB, free: 5.113 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 179] 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 2.867/2.867, allocations: 0.49 GB / 0.7958 GB, free: 33.27 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.001899/0.001899, allocations: 65.8 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2859, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002685/0.2886, allocations: 1.516 MB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2896, allocations: 0.6304 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.2897, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.2897, allocations: 7.922 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.2897, allocations: 7.938 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.2903, allocations: 166.2 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.809e-05/0.2903, allocations: 47.84 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.2904, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.2904, allocations: 31.84 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.2905, allocations: 19.92 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2905, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005011/0.291, allocations: 347.4 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.291, allocations: 15.94 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.2911, allocations: 23.86 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.2913, allocations: 175.4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2913, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2913, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2913, allocations: 0 / 1.33 GB, free: 14.5 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.00056/0.2919, allocations: 329.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2919, allocations: 15.97 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.292, allocations: 4.891 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.2921, allocations: 114.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2921, allocations: 8.375 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.2921, allocations: 8.328 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.2923, allocations: 78.2 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2924, allocations: 192 / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2924, allocations: 11.94 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2924, allocations: 0 / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.2926, allocations: 55.83 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.2931, allocations: 287.8 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.2934, allocations: 82.45 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.2935, allocations: 32.83 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2935, allocations: 8 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.2935, allocations: 30.56 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.2935, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001473/0.295, allocations: 0.4958 MB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2951, allocations: 55.34 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.2951, allocations: 101.8 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.2951, allocations: 33.7 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.2952, allocations: 92.08 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.2952, allocations: 39.67 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.2953, allocations: 33.84 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2954, allocations: 318.8 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2956, allocations: 35.98 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.2957, allocations: 27.97 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.2959, allocations: 80.52 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2959, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002964/0.2962, allocations: 121.5 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2962, allocations: 8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2962, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2962, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.2964, allocations: 27.92 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.2964, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.2964, allocations: 15.92 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2964, allocations: 8 kB / 1.332 GB, free: 11.75 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 8.376e-05/0.2965, allocations: 118.4 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.2966, allocations: 7.953 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.2969, allocations: 125.6 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2969, allocations: 3.938 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2969, allocations: 0 / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2969, allocations: 7.938 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.2975, allocations: 349.6 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2975, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2976, allocations: 27.98 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2976, allocations: 7.938 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2977, allocations: 3.938 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2977, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2977, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.2982, allocations: 259.3 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.2982, allocations: 7.984 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2982, allocations: 3.938 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2983, allocations: 11.98 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.2983, allocations: 8.172 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.2983, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.2984, allocations: 83.27 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2984, allocations: 4.062 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002702/0.2986, allocations: 39.86 kB / 1.334 GB, free: 10.61 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.0001943/0.2988, allocations: 135 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.2992, allocations: 75.94 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/0.2992, allocations: 7.938 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2993, allocations: 39.92 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.2996, allocations: 12 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.3003, allocations: 335.7 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3006, allocations: 0.6885 MB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.3006, allocations: 19.44 kB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3006, allocations: 0 / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of Templates: time 0.003111/0.3037, allocations: 1.32 MB / 1.336 GB, free: 7.93 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: 9.838664632989094] Failed to read output from testmodel.py, exit status != 0: 0.31113564301631413 0.32567224300000003 0.031408639 Calling exit ...