Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001048/0.001048, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.00105/0.00105, allocations: 173 kB / 23.02 MB, free: 1.547 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.9232/0.9232, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002549/0.002549, allocations: 226.3 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6977/0.6977, allocations: 138.4 MB / 455.2 MB, free: 29.95 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 3.938 kB / 0.5551 GB, free: 140 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.033e-05, allocations: 5.828 kB / 0.5551 GB, free: 136 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.008148/0.008178, allocations: 1.317 MB / 0.5564 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.009101, allocations: 0.5799 MB / 0.557 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.009133, allocations: 4 kB / 0.557 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.009159, allocations: 0 / 0.557 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.009203, allocations: 3.984 kB / 0.557 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.009793, allocations: 159.2 kB / 0.5571 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.009859, allocations: 15.88 kB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.0099, allocations: 7.984 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.009952, allocations: 8 kB / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.01, allocations: 11.97 kB / 0.5572 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.01001, allocations: 4 kB / 0.5572 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.01037, allocations: 271.4 kB / 0.5574 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.01039, allocations: 3.984 kB / 0.5574 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.01041, allocations: 4 kB / 0.5574 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.01064, allocations: 163.4 kB / 0.5576 GB, free: 13.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01064, allocations: 0 / 0.5576 GB, free: 13.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01064, allocations: 0 / 0.5576 GB, free: 13.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.01065, allocations: 4 kB / 0.5576 GB, free: 13.57 MB / 490.7 MB 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.003444/0.01409, allocations: 392.2 kB / 0.558 GB, free: 13.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.01413, allocations: 9.938 kB / 0.558 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.01418, allocations: 12.92 kB / 0.558 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.491e-05/0.01427, allocations: 104.6 kB / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.01428, allocations: 4.375 kB / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.0143, allocations: 4.375 kB / 0.5581 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.01441, allocations: 67.89 kB / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.01442, allocations: 192 / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.01443, allocations: 384 / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.01443, allocations: 4.375 kB / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.037e-05/0.01446, allocations: 11.94 kB / 0.5582 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.0146, allocations: 124.6 kB / 0.5583 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.01479, allocations: 51.09 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.01482, allocations: 11.69 kB / 0.5583 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.01484, allocations: 0 / 0.5583 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.01486, allocations: 45.41 kB / 0.5584 GB, free: 12.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.01487, allocations: 0 / 0.5584 GB, free: 12.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005412/0.01541, allocations: 233.6 kB / 0.5586 GB, free: 12.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.01544, allocations: 55.34 kB / 0.5587 GB, free: 12.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.01551, allocations: 162.2 kB / 0.5588 GB, free: 12.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.01552, allocations: 29.69 kB / 0.5589 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.01556, allocations: 130.9 kB / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.01559, allocations: 19.86 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.01563, allocations: 27.38 kB / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.01576, allocations: 0.4884 MB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.01578, allocations: 4 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/0.0158, allocations: 11.98 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.01585, allocations: 35.61 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01585, allocations: 0 / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.826e-05/0.01594, allocations: 57.69 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01596, allocations: 6.656 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01596, allocations: 0 / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01597, allocations: 0 / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.854e-05/0.01602, allocations: 19.94 kB / 0.5596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01603, allocations: 4.172 kB / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.01604, allocations: 4 kB / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.01605, allocations: 4 kB / 0.5596 GB, free: 11.23 MB / 490.7 MB 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 6.588e-05/0.01612, allocations: 156.5 kB / 0.5598 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.01614, allocations: 15.94 kB / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.01625, allocations: 61.81 kB / 0.5599 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01625, allocations: 0 / 0.5599 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-06/0.01626, allocations: 3.938 kB / 0.5599 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01626, allocations: 0 / 0.5599 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.01651, allocations: 317.1 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01651, allocations: 0 / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.01657, allocations: 16.19 kB / 0.5602 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01657, allocations: 0 / 0.5602 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01658, allocations: 7.938 kB / 0.5602 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01658, allocations: 0 / 0.5602 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01658, allocations: 7.984 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.01979, allocations: 223.5 kB / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01981, allocations: 11.95 kB / 0.5604 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.01983, allocations: 7.922 kB / 0.5604 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.01988, allocations: 4.062 kB / 0.5604 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.0199, allocations: 4 kB / 0.5604 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.0199, allocations: 0 / 0.5604 GB, free: 10.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.508e-05/0.01994, allocations: 131.2 kB / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01994, allocations: 0 / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.02011, allocations: 23.88 kB / 0.5606 GB, free: 10.17 MB / 490.7 MB 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.0001531/0.02026, allocations: 119.2 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.85e-05/0.02036, allocations: 39.61 kB / 0.5607 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02036, allocations: 0 / 0.5607 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.02038, allocations: 31.61 kB / 0.5608 GB, free: 9.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.02055, allocations: 4 kB / 0.5608 GB, free: 9.965 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.02124, allocations: 190 kB / 0.561 GB, free: 9.746 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.035e-05/0.02129, allocations: 55.36 kB / 0.561 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.98e-05/0.02133, allocations: 7.984 kB / 0.561 GB, free: 9.664 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.02136, allocations: 16.44 kB / 0.561 GB, free: 9.648 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02136, allocations: 0 / 0.561 GB, free: 9.648 MB / 490.7 MB Notification: Performance of Templates: time 0.003565/0.02493, allocations: 0.7455 MB / 0.5618 GB, free: 8.953 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.580078087747097]