Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001364/0.001364, allocations: 88.72 kB / 19.44 MB, free: 356 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.001516/0.001516, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.435/1.435, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.002658/0.002658, allocations: 233.8 kB / 259.8 MB, free: 12.85 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 1.082/1.082, allocations: 138.5 MB / 454.8 MB, free: 1.469 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.643e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002532/0.002558, allocations: 1.294 MB / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003707, allocations: 0.5487 MB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.00373, allocations: 4 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.003748, allocations: 0 / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.003791, allocations: 7.875 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.004419, allocations: 147.3 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.257e-05/0.004492, allocations: 31.86 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.004524, allocations: 3.984 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.004567, allocations: 15.98 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.004625, allocations: 11.92 kB / 0.5564 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.004642, allocations: 11.94 kB / 0.5564 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.005113, allocations: 267.5 kB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.00513, allocations: 7.922 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.005159, allocations: 8 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.005481, allocations: 167.4 kB / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005483, allocations: 0 / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005483, allocations: 0 / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005487, allocations: 0 / 0.5568 GB, free: 14.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000435/0.005922, allocations: 294 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.005962, allocations: 12.75 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.006007, allocations: 8.938 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.006116, allocations: 113.6 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.006132, allocations: 8.375 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.006159, allocations: 4.375 kB / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.006326, allocations: 101.6 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.006337, allocations: 192 / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.006347, allocations: 4.375 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.006351, allocations: 384 / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/0.006408, allocations: 23.92 kB / 0.5573 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.006577, allocations: 113.3 kB / 0.5574 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.006767, allocations: 58.5 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.006819, allocations: 28.84 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.006838, allocations: 7.938 kB / 0.5575 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.006871, allocations: 30.56 kB / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.006872, allocations: 0 / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001215/0.008087, allocations: 451.5 kB / 0.558 GB, free: 12.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.008133, allocations: 55.41 kB / 0.558 GB, free: 12.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.008226, allocations: 93.86 kB / 0.5581 GB, free: 12.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.008252, allocations: 33.7 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.008304, allocations: 84.31 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.008356, allocations: 39.67 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.008408, allocations: 29.7 kB / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.00858, allocations: 314.8 kB / 0.5586 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.008632, allocations: 23.98 kB / 0.5586 GB, free: 12.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.031e-05/0.008673, allocations: 16 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.008786, allocations: 60.72 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.008787, allocations: 0 / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001826/0.008969, allocations: 113.7 kB / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.008984, allocations: 4 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.008991, allocations: 3.984 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.009009, allocations: 7.938 kB / 0.5588 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.009124, allocations: 19.98 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.009131, allocations: 4 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.009164, allocations: 8 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.009171, allocations: 0 / 0.5589 GB, free: 11.96 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 (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.825e-05/0.009269, allocations: 113.8 kB / 0.559 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.009294, allocations: 15.88 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.009517, allocations: 117.8 kB / 0.5591 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.009522, allocations: 3.938 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.009525, allocations: 0 / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.009527, allocations: 0 / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.009954, allocations: 294.2 kB / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009956, allocations: 0 / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.01008, allocations: 19.98 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01008, allocations: 3.938 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01009, allocations: 4 kB / 0.5594 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.0101, allocations: 0 / 0.5594 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.0101, allocations: 0 / 0.5594 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.01039, allocations: 223.4 kB / 0.5596 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.0104, allocations: 4.031 kB / 0.5596 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01042, allocations: 7.938 kB / 0.5596 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.01052, allocations: 3.984 kB / 0.5596 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.01055, allocations: 7.984 kB / 0.5597 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.01056, allocations: 8 kB / 0.5597 GB, free: 11.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.01061, allocations: 75.28 kB / 0.5597 GB, free: 11.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01061, allocations: 0 / 0.5597 GB, free: 11.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.01089, allocations: 39.88 kB / 0.5598 GB, free: 10.97 MB / 490.7 MB 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.0002377/0.01113, allocations: 135.2 kB / 0.5599 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.01129, allocations: 59.86 kB / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01129, allocations: 0 / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.01135, allocations: 31.98 kB / 0.56 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01159, allocations: 5.016 kB / 0.56 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.01212, allocations: 248.1 kB / 0.5602 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.908e-05/0.0122, allocations: 71.33 kB / 0.5603 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.01225, allocations: 15.94 kB / 0.5603 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.01229, allocations: 12.5 kB / 0.5603 GB, free: 10.35 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01229, allocations: 0 / 0.5603 GB, free: 10.35 MB / 490.7 MB Notification: Performance of Templates: time 0.004024/0.01631, allocations: 0.9553 MB / 0.5613 GB, free: 9.441 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.443518214975484]