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.001645/0.001645, allocations: 113.6 kB / 17.13 MB, free: 5.945 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.001946/0.001946, allocations: 209 kB / 20.09 MB, free: 2.996 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.795/2.795, allocations: 0.49 GB / 0.7922 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] 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.003118/0.003118, allocations: 67.89 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8374/0.8405, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002115/0.8426, allocations: 1.498 MB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.8434, allocations: 0.6202 MB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.8435, allocations: 2.75 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.8435, allocations: 7.359 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.8435, allocations: 7.922 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.844, allocations: 165.7 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.8441, allocations: 50.38 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.8441, allocations: 10.94 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.8442, allocations: 16.14 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.8442, allocations: 35.45 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.8442, allocations: 2.906 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.8446, allocations: 343.9 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.8446, allocations: 13.97 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.8446, allocations: 24.25 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.8449, allocations: 180.7 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8449, allocations: 0 / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8449, allocations: 0 / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8449, allocations: 0 / 1.325 GB, free: 23.24 MB / 1.061 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.0004926/0.8454, allocations: 406.4 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.8454, allocations: 12.28 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.8454, allocations: 14.48 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.033e-05/0.8455, allocations: 175.6 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.8455, allocations: 6.062 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.8455, allocations: 11.17 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.8458, allocations: 76.91 kB / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.8458, allocations: 4.188 kB / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.8458, allocations: 3.938 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8458, allocations: 3.031 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.846, allocations: 50.64 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.8465, allocations: 321.9 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.8467, allocations: 78.58 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.8468, allocations: 29.72 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.8468, allocations: 0 / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.8469, allocations: 34.56 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.8469, allocations: 2.844 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001422/0.8483, allocations: 0.6461 MB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.8483, allocations: 58.22 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.174e-05/0.8483, allocations: 106.8 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.8484, allocations: 25.7 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.8484, allocations: 94.66 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.8484, allocations: 34 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.8484, allocations: 29.55 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.8485, allocations: 320.9 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.8486, allocations: 27.42 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.8487, allocations: 38.61 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.849, allocations: 80.45 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.849, allocations: 0 / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003283/0.8493, allocations: 115.3 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8493, allocations: 7.219 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.8493, allocations: 0 / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.8493, allocations: 1.281 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.8495, allocations: 35.2 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8495, allocations: 0.5312 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.8495, allocations: 7.406 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.8496, allocations: 6.547 kB / 1.328 GB, free: 20.85 MB / 1.061 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 5.469e-05/0.8496, allocations: 124.8 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.8496, allocations: 7.266 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.85, allocations: 124.4 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.85, allocations: 1.844 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.85, allocations: 7.922 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.85, allocations: 7.312 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.8505, allocations: 383.9 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8505, allocations: 0 / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.8507, allocations: 23.5 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8507, allocations: 1.25 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.8507, allocations: 8.594 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.8507, allocations: 4 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8507, allocations: 0.8281 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.8512, allocations: 256 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.8512, allocations: 82.69 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.8512, allocations: 9.875 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.8513, allocations: 11.66 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.8514, allocations: 3.188 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.8514, allocations: 10.16 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.028e-05/0.8514, allocations: 78.38 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8514, allocations: 0.6875 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002843/0.8517, allocations: 37.78 kB / 1.329 GB, free: 19.92 MB / 1.061 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.0001859/0.8519, allocations: 127.8 kB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.8522, allocations: 86 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8522, allocations: 0.9062 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.8523, allocations: 44.41 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.8526, allocations: 12.8 kB / 1.329 GB, free: 19.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.8532, allocations: 345.2 kB / 1.329 GB, free: 19.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.8533, allocations: 0.6924 MB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.8533, allocations: 14.41 kB / 1.33 GB, free: 18.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.8533, allocations: 0 / 1.33 GB, free: 18.8 MB / 1.061 GB Notification: Performance of Templates: time 0.003146/0.8565, allocations: 1.322 MB / 1.331 GB, free: 18.68 MB / 1.061 GB " [Timeout remaining time 299] 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.851299235990155] Failed to read output from testmodel.py, exit status != 0: 0.8653964080003789 0.874291044 0.027054734 Calling exit ...