Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001604/0.001604, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002035/0.002035, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.744/2.744, allocations: 476.8 MB / 0.7714 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [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.002024/0.002024, allocations: 69 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2859, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002379/0.2882, allocations: 1.314 MB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2893, allocations: 0.6168 MB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.2893, allocations: 0 / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.2894, allocations: 3.984 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.512e-05/0.2894, allocations: 7.938 kB / 1.287 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.2899, allocations: 145.8 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.29, allocations: 19.92 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.29, allocations: 7.984 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.2901, allocations: 8 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.2901, allocations: 11.92 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2901, allocations: 0 / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.2907, allocations: 347.3 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.2907, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.2907, allocations: 7.938 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.291, allocations: 151.5 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.291, allocations: 8 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.291, allocations: 0 / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.291, allocations: 0 / 1.287 GB, free: 8.641 MB / 0.9825 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.000412/0.2914, allocations: 285.9 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2914, allocations: 12.03 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.2915, allocations: 0.9375 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2916, allocations: 110.5 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.2916, allocations: 4.312 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2916, allocations: 4.375 kB / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2917, allocations: 42.25 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2917, allocations: 4.125 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2917, allocations: 3.938 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2917, allocations: 0 / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.2918, allocations: 12 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.2919, allocations: 128.7 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2921, allocations: 46.61 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.2922, allocations: 20.94 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2922, allocations: 0 / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2922, allocations: 38.5 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2922, allocations: 3.938 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0005852/0.2928, allocations: 233.1 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2928, allocations: 51.41 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.2929, allocations: 105.8 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.2929, allocations: 29.7 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.293, allocations: 80.14 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.293, allocations: 15.86 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.2931, allocations: 25.7 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2932, allocations: 318.8 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.2932, allocations: 8 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.2933, allocations: 11.98 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/0.2933, allocations: 36.86 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2933, allocations: 0 / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001071/0.2934, allocations: 69.61 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.2935, allocations: 7.938 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2935, allocations: 0 / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2935, allocations: 4 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.2935, allocations: 11.98 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2935, allocations: 0 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.2936, allocations: 4.062 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2936, allocations: 8 kB / 1.289 GB, free: 6.723 MB / 0.9825 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 8.035e-05/0.2937, allocations: 109.8 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.2937, allocations: 11.89 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.2938, allocations: 77.62 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2938, allocations: 3.984 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2938, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2938, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.2942, allocations: 286.4 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2942, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.2942, allocations: 12.03 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2942, allocations: 0 / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2942, allocations: 4 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2942, allocations: 0 / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2942, allocations: 3.984 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.2944, allocations: 180.3 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.2945, allocations: 7.938 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2945, allocations: 16 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.2946, allocations: 0 / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.2946, allocations: 0 / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.2946, allocations: 4 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.2946, allocations: 83.27 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2946, allocations: 0 / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002424/0.2949, allocations: 23.88 kB / 1.29 GB, free: 5.828 MB / 0.9825 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.000178/0.295, allocations: 119.2 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2952, allocations: 40.11 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2952, allocations: 0 / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.2952, allocations: 20 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.2954, allocations: 14.17 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.2959, allocations: 214.7 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2962, allocations: 0.6807 MB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.2962, allocations: 15.44 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.2962, allocations: 0 / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of Templates: time 0.002566/0.2988, allocations: 0.8015 MB / 1.291 GB, free: 3.867 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.74170559598133] Failed to read output from testmodel.py, exit status != 0: 0.8099741770129185 0.32167335399999997 0.027495270000000002 Calling exit ...