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.001814/0.001814, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002928/0.002928, allocations: 221.1 kB / 23 MB, free: 4.918 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.141/3.141, allocations: 0.4892 GB / 0.7951 GB, free: 35.38 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.002058/0.002058, allocations: 67.59 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3274, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.004448/0.3318, allocations: 1.488 MB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3333, allocations: 0.5643 MB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.3333, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.669e-05/0.3334, allocations: 7.922 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.3334, allocations: 7.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.3342, allocations: 163.4 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.3343, allocations: 43.91 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.3344, allocations: 4 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.3345, allocations: 31.84 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.3345, allocations: 19.86 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3345, allocations: 4 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.335, allocations: 275.5 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.3351, allocations: 8 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.3351, allocations: 27.84 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.3355, allocations: 171.4 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3355, allocations: 3.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3355, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3355, allocations: 0 / 1.329 GB, free: 15.09 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.000648/0.3361, allocations: 321.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3362, allocations: 12.03 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.3362, allocations: 8.891 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3363, allocations: 106.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.3364, allocations: 8.375 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3364, allocations: 16.33 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.3367, allocations: 136.1 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3367, allocations: 192 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3367, allocations: 3.938 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.3367, allocations: 3.984 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.3369, allocations: 43.97 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3375, allocations: 260.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3378, allocations: 86.45 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3379, allocations: 28.83 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3379, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.338, allocations: 42.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.338, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001615/0.3396, allocations: 0.4918 MB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3396, allocations: 51.41 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.3397, allocations: 101.9 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3397, allocations: 25.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.3398, allocations: 96.08 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.3398, allocations: 47.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.3399, allocations: 29.78 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.34, allocations: 326.8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3402, allocations: 31.98 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3403, allocations: 35.97 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.3406, allocations: 72.77 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3406, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003174/0.3409, allocations: 119.6 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3409, allocations: 8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3409, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3409, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3411, allocations: 31.92 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3411, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.3411, allocations: 7.984 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3411, allocations: 3.938 kB / 1.331 GB, free: 12.34 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 9.74e-05/0.3412, allocations: 118.4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.3413, allocations: 7.953 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.3417, allocations: 133.6 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3417, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3417, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3417, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.3422, allocations: 318.1 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3422, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3424, allocations: 27.92 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3424, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3424, allocations: 8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3424, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3424, allocations: 7.938 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.3429, allocations: 251.4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.3429, allocations: 11.97 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3429, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.343, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.3431, allocations: 15.92 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3431, allocations: 8.125 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.3431, allocations: 95.25 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3431, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002739/0.3434, allocations: 35.88 kB / 1.332 GB, free: 11.24 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.0002246/0.3436, allocations: 131.1 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.344, allocations: 84.31 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.344, allocations: 3.938 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3441, allocations: 43.91 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3444, allocations: 12.69 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.3451, allocations: 335.7 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.015e-05/0.3452, allocations: 75.33 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.3453, allocations: 15.44 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3453, allocations: 0 / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Templates: time 0.00338/0.3486, allocations: 1.349 MB / 1.334 GB, free: 9.152 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: 11.004415517207235] Failed to read output from testmodel.py, exit status != 0: 0.3567256089299917 0.37223777500000005 0.033615007 Calling exit ...