Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.000999/0.000999, allocations: 84.5 kB / 19.93 MB, free: 4.602 MB / 18.57 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.001019/0.001019, allocations: 173.9 kB / 23.21 MB, free: 1.324 MB / 18.57 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 0.9438/0.9438, allocations: 177.2 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.368/2.368, allocations: 439.8 MB / 0.6834 GB, free: 12.91 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 2.781 kB / 1.082 GB, free: 24.71 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.192e-05, allocations: 4.25 kB / 1.082 GB, free: 24.71 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001487/0.001509, allocations: 1.342 MB / 1.084 GB, free: 23.78 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.002153, allocations: 0.5555 MB / 1.084 GB, free: 23.42 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.00218, allocations: 0 / 1.084 GB, free: 23.42 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.002199, allocations: 7.078 kB / 1.084 GB, free: 23.42 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.349e-05/0.002233, allocations: 3.938 kB / 1.084 GB, free: 23.41 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.002666, allocations: 160.3 kB / 1.084 GB, free: 23.34 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.002731, allocations: 28.33 kB / 1.084 GB, free: 23.33 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.002783, allocations: 3.188 kB / 1.084 GB, free: 23.33 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.002816, allocations: 23.7 kB / 1.084 GB, free: 23.32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.002867, allocations: 13.12 kB / 1.084 GB, free: 23.32 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.00288, allocations: 2.438 kB / 1.084 GB, free: 23.32 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.003166, allocations: 313.8 kB / 1.085 GB, free: 23.24 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.00318, allocations: 6.609 kB / 1.085 GB, free: 23.24 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.003201, allocations: 16.66 kB / 1.085 GB, free: 23.23 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.003388, allocations: 168.6 kB / 1.085 GB, free: 23.17 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003391, allocations: 0 / 1.085 GB, free: 23.17 MB / 1.01 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003391, allocations: 0 / 1.085 GB, free: 23.17 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.003395, allocations: 0 / 1.085 GB, free: 23.17 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002945/0.003689, allocations: 292.8 kB / 1.085 GB, free: 22.88 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.003727, allocations: 14.5 kB / 1.085 GB, free: 22.88 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.003762, allocations: 7.516 kB / 1.085 GB, free: 22.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.596e-05/0.003818, allocations: 113.7 kB / 1.085 GB, free: 22.74 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.003828, allocations: 3 kB / 1.085 GB, free: 22.74 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.00385, allocations: 3 kB / 1.085 GB, free: 22.74 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.003961, allocations: 104.8 kB / 1.085 GB, free: 22.64 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.003971, allocations: 4.172 kB / 1.085 GB, free: 22.63 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.003984, allocations: 384 / 1.085 GB, free: 22.63 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.00399, allocations: 4.312 kB / 1.085 GB, free: 22.63 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.004032, allocations: 21.62 kB / 1.086 GB, free: 22.62 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.645e-05/0.004128, allocations: 116.5 kB / 1.086 GB, free: 22.49 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.004206, allocations: 53.53 kB / 1.086 GB, free: 22.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.004235, allocations: 25.45 kB / 1.086 GB, free: 22.44 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.004254, allocations: 2.625 kB / 1.086 GB, free: 22.44 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.004268, allocations: 34.56 kB / 1.086 GB, free: 22.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.004269, allocations: 3.938 kB / 1.086 GB, free: 22.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0007129/0.004982, allocations: 458.1 kB / 1.086 GB, free: 22.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.005003, allocations: 55.41 kB / 1.086 GB, free: 21.99 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.701e-05/0.00504, allocations: 95.86 kB / 1.086 GB, free: 21.89 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.005047, allocations: 32.61 kB / 1.086 GB, free: 21.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.079e-05/0.005058, allocations: 80.14 kB / 1.086 GB, free: 21.77 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.005084, allocations: 36.19 kB / 1.086 GB, free: 21.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.005112, allocations: 28.64 kB / 1.086 GB, free: 21.72 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.752e-05/0.005139, allocations: 317.5 kB / 1.087 GB, free: 21.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.005166, allocations: 17.97 kB / 1.087 GB, free: 21.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.005191, allocations: 20.22 kB / 1.087 GB, free: 21.4 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.005251, allocations: 59.98 kB / 1.087 GB, free: 21.37 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.005251, allocations: 4.125 kB / 1.087 GB, free: 21.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.452e-05/0.005336, allocations: 102 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.005347, allocations: 5.344 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.005351, allocations: 3.938 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.005363, allocations: 6.562 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.005432, allocations: 18.84 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005437, allocations: 2.625 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.005449, allocations: 4 kB / 1.087 GB, free: 21.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.005456, allocations: 6.625 kB / 1.087 GB, free: 21.29 MB / 1.01 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 3.998e-05/0.005496, allocations: 115.6 kB / 1.087 GB, free: 21.17 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.005503, allocations: 14.52 kB / 1.087 GB, free: 21.16 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.005616, allocations: 102.1 kB / 1.087 GB, free: 21.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.005618, allocations: 3.938 kB / 1.087 GB, free: 21.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.005622, allocations: 2.625 kB / 1.087 GB, free: 21.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005625, allocations: 0 / 1.087 GB, free: 21.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.00585, allocations: 294.8 kB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.005852, allocations: 3.422 kB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.005918, allocations: 18.38 kB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.00592, allocations: 3.938 kB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.005928, allocations: 9.859 kB / 1.088 GB, free: 20.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.005929, allocations: 4 kB / 1.088 GB, free: 20.82 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.00593, allocations: 0 / 1.088 GB, free: 20.82 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.00606, allocations: 212.9 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.006065, allocations: 2.625 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.006076, allocations: 7.938 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.413e-05/0.00612, allocations: 2.625 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.006135, allocations: 13.83 kB / 1.088 GB, free: 20.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.006142, allocations: 9.25 kB / 1.088 GB, free: 20.64 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.15e-05/0.006153, allocations: 78.47 kB / 1.088 GB, free: 20.57 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.006153, allocations: 0 / 1.088 GB, free: 20.57 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001709/0.006324, allocations: 60.59 kB / 1.088 GB, free: 20.54 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001502/0.006474, allocations: 154.3 kB / 1.088 GB, free: 20.44 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 9.493e-05/0.006569, allocations: 60.97 kB / 1.088 GB, free: 20.42 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.006571, allocations: 0 / 1.088 GB, free: 20.42 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.006598, allocations: 32.47 kB / 1.088 GB, free: 20.41 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.00675, allocations: 7.281 kB / 1.088 GB, free: 20.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.007088, allocations: 271.6 kB / 1.088 GB, free: 20.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.007124, allocations: 88.14 kB / 1.089 GB, free: 20.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.007146, allocations: 14 kB / 1.089 GB, free: 20.08 MB / 1.01 GB Notification: Performance of SimCode: time 5.01e-07/0.007147, allocations: 0 / 1.089 GB, free: 20.08 MB / 1.01 GB Notification: Performance of Templates: time 0.002016/0.009163, allocations: 1.385 MB / 1.09 GB, free: 19.95 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.801362537778914]