Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001476/0.001476, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001709/0.001709, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.042/1.042, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.001844/0.001844, allocations: 247.1 kB / 260.5 MB, free: 12.7 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.7372/0.7372, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.224e-05, allocations: 4 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002207/0.00223, allocations: 1.366 MB / 463.7 MB, free: 0 / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.003087, allocations: 0.5826 MB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.003114, allocations: 0 / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.003132, allocations: 4.688 kB / 464.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.003181, allocations: 8.625 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.003692, allocations: 144.8 kB / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.00375, allocations: 22.39 kB / 464.5 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.003782, allocations: 3.656 kB / 464.5 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.003838, allocations: 12.44 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.003881, allocations: 4.984 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.003893, allocations: 6.188 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.004293, allocations: 270.2 kB / 464.8 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.004309, allocations: 10.8 kB / 464.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.004326, allocations: 4.547 kB / 464.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.004549, allocations: 164.3 kB / 464.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004551, allocations: 3.219 kB / 464.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004552, allocations: 0 / 464.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.004555, allocations: 0 / 464.9 MB, free: 15.43 MB / 426.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.0002692/0.004824, allocations: 263.3 kB / 465.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.004853, allocations: 10.31 kB / 465.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.004877, allocations: 4.375 kB / 465.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.728e-05/0.004944, allocations: 108.9 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.004954, allocations: 6.125 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.00497, allocations: 3.734 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.067e-05/0.005041, allocations: 62.73 kB / 465.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.005046, allocations: 0.75 kB / 465.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.005053, allocations: 1.781 kB / 465.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.005057, allocations: 1.5 kB / 465.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.005077, allocations: 14.86 kB / 465.4 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.978e-05/0.005157, allocations: 64.28 kB / 465.5 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.005286, allocations: 36.88 kB / 465.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.005305, allocations: 13.11 kB / 465.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.005317, allocations: 1.125 kB / 465.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.005337, allocations: 37.42 kB / 465.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005339, allocations: 1.156 kB / 465.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004268/0.005765, allocations: 235.4 kB / 465.8 MB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.005788, allocations: 53.8 kB / 465.8 MB, free: 14.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.419e-05/0.005832, allocations: 99.59 kB / 465.9 MB, free: 14.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.005843, allocations: 30.58 kB / 466 MB, free: 14.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.219e-05/0.005865, allocations: 85.83 kB / 466.1 MB, free: 14.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.005888, allocations: 18.28 kB / 466.1 MB, free: 14.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.005917, allocations: 23.2 kB / 466.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.005991, allocations: 322.8 kB / 466.4 MB, free: 14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.006002, allocations: 4.547 kB / 466.4 MB, free: 14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.006013, allocations: 7.203 kB / 466.4 MB, free: 14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.006046, allocations: 21 kB / 466.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006046, allocations: 1 kB / 466.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.891e-05/0.006105, allocations: 55.27 kB / 466.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.006117, allocations: 5.297 kB / 466.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006121, allocations: 4.156 kB / 466.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.006131, allocations: 0.7031 kB / 466.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.006168, allocations: 11.41 kB / 466.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.00617, allocations: 0 / 466.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.006183, allocations: 9.781 kB / 466.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.006187, allocations: 2.25 kB / 466.5 MB, free: 13.94 MB / 426.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 4.817e-05/0.006235, allocations: 108.8 kB / 466.6 MB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.006243, allocations: 4.156 kB / 466.6 MB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.741e-05/0.006331, allocations: 70.41 kB / 466.7 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006333, allocations: 0.5625 kB / 466.7 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.006335, allocations: 1.25 kB / 466.7 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.006338, allocations: 0.7031 kB / 466.7 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.006502, allocations: 211.9 kB / 466.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006503, allocations: 2.281 kB / 466.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.006544, allocations: 12.91 kB / 466.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.006546, allocations: 1.781 kB / 466.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.006552, allocations: 1.438 kB / 466.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.006554, allocations: 3.047 kB / 466.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.006556, allocations: 0 / 466.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.006658, allocations: 163.4 kB / 467.1 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.006672, allocations: 4.188 kB / 467.1 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.00668, allocations: 3 kB / 467.1 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.006717, allocations: 5.156 kB / 467.1 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.006731, allocations: 11.95 kB / 467.1 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.006736, allocations: 1.219 kB / 467.1 MB, free: 13.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.197e-06/0.006745, allocations: 8.219 kB / 467.1 MB, free: 13.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006745, allocations: 0.625 kB / 467.1 MB, free: 13.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.006893, allocations: 24.11 kB / 467.2 MB, free: 13.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001195/0.007012, allocations: 107.1 kB / 467.3 MB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.867e-05/0.007071, allocations: 29.69 kB / 467.3 MB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.007073, allocations: 0 / 467.3 MB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.661e-05/0.00709, allocations: 22.2 kB / 467.3 MB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.007199, allocations: 4.078 kB / 467.3 MB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.007585, allocations: 186.8 kB / 467.5 MB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.133e-05/0.007617, allocations: 57.47 kB / 467.6 MB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.157e-05/0.007638, allocations: 8.656 kB / 467.6 MB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.007679, allocations: 61.23 kB / 467.6 MB, free: 13.03 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00768, allocations: 0 / 467.6 MB, free: 13.03 MB / 426.7 MB Notification: Performance of Templates: time 0.002172/0.009852, allocations: 0.7513 MB / 468.4 MB, free: 12.45 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.573759433347732]