Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001591/0.001591, allocations: 102.1 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.001766/0.001766, allocations: 215.2 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.696/2.696, allocations: 476.7 MB / 0.7714 GB, free: 4.312 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_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.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_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.002028/0.002028, allocations: 65.98 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3152, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002888/0.318, allocations: 1.518 MB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3192, allocations: 0.6323 MB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.3193, allocations: 0 / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.3193, allocations: 7.938 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.3194, allocations: 3.938 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.32, allocations: 165.8 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3201, allocations: 47.8 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.3201, allocations: 15.92 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.3202, allocations: 23.92 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.3202, allocations: 27.91 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3203, allocations: 4 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000565/0.3208, allocations: 343.3 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3208, allocations: 15.92 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.3209, allocations: 23.86 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.3212, allocations: 175.5 kB / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3212, allocations: 0 / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3212, allocations: 4 kB / 1.288 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3212, allocations: 4 kB / 1.288 GB, free: 8.227 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006786/0.3219, allocations: 325.8 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3219, allocations: 8.031 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.322, allocations: 12.88 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3221, allocations: 114.4 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3221, allocations: 384 / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.3222, allocations: 16.33 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.3224, allocations: 86.16 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3225, allocations: 192 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3225, allocations: 7.938 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3225, allocations: 0 / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3227, allocations: 51.95 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.3233, allocations: 287.8 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.3236, allocations: 78.53 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.3237, allocations: 28.84 kB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.3237, allocations: 160 / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3238, allocations: 34.56 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.3238, allocations: 3.984 kB / 1.289 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001624/0.3254, allocations: 0.4956 MB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.3255, allocations: 63.34 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.3256, allocations: 105.8 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3256, allocations: 29.7 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.3256, allocations: 92.03 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.3257, allocations: 39.67 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.3257, allocations: 29.7 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3259, allocations: 318.8 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.326, allocations: 35.97 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3262, allocations: 27.98 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.3264, allocations: 74.08 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3264, allocations: 0 / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003405/0.3268, allocations: 126.9 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3268, allocations: 4 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3268, allocations: 0 / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3268, allocations: 11.94 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.327, allocations: 23.98 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.327, allocations: 0 / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.327, allocations: 7.938 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.327, allocations: 11.98 kB / 1.29 GB, free: 5.48 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 (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 9.407e-05/0.3271, allocations: 109.8 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.3272, allocations: 7.953 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.3276, allocations: 129.6 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3276, allocations: 0 / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3276, allocations: 0 / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3276, allocations: 8.016 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.3282, allocations: 353.5 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3282, allocations: 0 / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.3284, allocations: 27.98 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3284, allocations: 0 / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3284, allocations: 19.92 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3284, allocations: 0 / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3284, allocations: 0 / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.3289, allocations: 251.3 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.3289, allocations: 7.984 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3289, allocations: 3.938 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3291, allocations: 8.062 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.3291, allocations: 11.98 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3291, allocations: 3.984 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.3291, allocations: 79.28 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3291, allocations: 0 / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003088/0.3294, allocations: 39.88 kB / 1.291 GB, free: 4.355 MB / 0.9825 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.0002203/0.3297, allocations: 139.3 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.33, allocations: 83.58 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.33, allocations: 0 / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3301, allocations: 51.84 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.3305, allocations: 8 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.3312, allocations: 347.5 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.3316, allocations: 0.6924 MB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.3316, allocations: 19.42 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3316, allocations: 0 / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of Templates: time 0.003424/0.335, allocations: 1.323 MB / 1.294 GB, free: 1.652 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.674776611005655] Failed to read output from testmodel.py, exit status != 0: 0.8390767850214615 0.35904727000000003 0.034535973000000005 Calling exit ...