Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00665/0.00665, allocations: 101.6 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 198.4 kB / 16.68 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 251.7 MB / 0.5094 GB, free: 436 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 75.89 kB / 0.7258 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5879, allocations: 104.7 MB / 0.828 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002147/0.5901, allocations: 1.293 MB / 0.8293 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.5912, allocations: 0.6171 MB / 0.8299 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.5912, allocations: 4 kB / 0.8299 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.5913, allocations: 0 / 0.8299 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.5913, allocations: 3.938 kB / 0.8299 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.5919, allocations: 147 kB / 0.83 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.592, allocations: 31.86 kB / 0.8301 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.592, allocations: 3.984 kB / 0.8301 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.5921, allocations: 12 kB / 0.8301 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.5922, allocations: 23.91 kB / 0.8301 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.5922, allocations: 0 / 0.8301 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.5927, allocations: 343.3 kB / 0.8304 GB, free: 324 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.5928, allocations: 3.984 kB / 0.8304 GB, free: 320 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.5928, allocations: 15.94 kB / 0.8305 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.5931, allocations: 153.6 kB / 0.8306 GB, free: 156 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5931, allocations: 7.938 kB / 0.8306 GB, free: 148 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5931, allocations: 0 / 0.8306 GB, free: 148 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.5932, allocations: 0 / 0.8306 GB, free: 148 kB / 0.6231 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.0005425/0.5937, allocations: 371.4 kB / 0.831 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5938, allocations: 11.97 kB / 0.831 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.5938, allocations: 8.844 kB / 0.831 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.594, allocations: 172.3 kB / 0.8312 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.594, allocations: 384 / 0.8312 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.594, allocations: 8.375 kB / 0.8312 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.5942, allocations: 46.25 kB / 0.8312 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5942, allocations: 192 / 0.8312 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5942, allocations: 3.938 kB / 0.8312 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5942, allocations: 0 / 0.8312 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/0.5943, allocations: 23.98 kB / 0.8312 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.5945, allocations: 161.7 kB / 0.8314 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.5946, allocations: 62.48 kB / 0.8314 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.5947, allocations: 28.86 kB / 0.8315 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.5947, allocations: 0 / 0.8315 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.5948, allocations: 38.55 kB / 0.8315 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.5948, allocations: 4 kB / 0.8315 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.001299/0.5961, allocations: 0.5878 MB / 0.8321 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.5961, allocations: 55.41 kB / 0.8321 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.5962, allocations: 93.86 kB / 0.8322 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5962, allocations: 33.83 kB / 0.8323 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.5963, allocations: 88 kB / 0.8323 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.5963, allocations: 35.45 kB / 0.8324 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.5964, allocations: 25.72 kB / 0.8324 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5965, allocations: 314.8 kB / 0.8327 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.5966, allocations: 23.98 kB / 0.8327 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.5966, allocations: 23.94 kB / 0.8328 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.5968, allocations: 56.94 kB / 0.8328 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.5968, allocations: 7.938 kB / 0.8328 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001434/0.5969, allocations: 97.62 kB / 0.8329 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5969, allocations: 4 kB / 0.8329 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5969, allocations: 4 kB / 0.8329 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.597, allocations: 0 / 0.8329 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.5971, allocations: 23.92 kB / 0.8329 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5971, allocations: 0 / 0.8329 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.5971, allocations: 4 kB / 0.8329 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5971, allocations: 3.984 kB / 0.8329 GB, free: 13.45 MB / 0.6387 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 9.767e-05/0.5972, allocations: 117.8 kB / 0.8331 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.5973, allocations: 11.84 kB / 0.8331 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.5975, allocations: 113.4 kB / 0.8332 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5975, allocations: 0 / 0.8332 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5975, allocations: 8 kB / 0.8332 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5975, allocations: 0 / 0.8332 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.5979, allocations: 350.5 kB / 0.8335 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5979, allocations: 0 / 0.8335 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.598, allocations: 27.92 kB / 0.8335 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.598, allocations: 4 kB / 0.8335 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.598, allocations: 4 kB / 0.8336 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5981, allocations: 0 / 0.8336 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5981, allocations: 4 kB / 0.8336 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.5983, allocations: 215.3 kB / 0.8338 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.5984, allocations: 81.09 kB / 0.8338 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.5984, allocations: 4.031 kB / 0.8338 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.5985, allocations: 4 kB / 0.8338 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.5985, allocations: 15.98 kB / 0.8339 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.5985, allocations: 4 kB / 0.8339 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.5986, allocations: 75.28 kB / 0.8339 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5986, allocations: 0 / 0.8339 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002764/0.5989, allocations: 32 kB / 0.834 GB, free: 12.29 MB / 0.6387 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.0002576/0.5991, allocations: 148.1 kB / 0.8341 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.5993, allocations: 59.92 kB / 0.8342 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5993, allocations: 4.094 kB / 0.8342 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.5993, allocations: 36.36 kB / 0.8342 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.5996, allocations: 7.062 kB / 0.8342 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.6001, allocations: 292.8 kB / 0.8345 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.6004, allocations: 0.6883 MB / 0.8352 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.6004, allocations: 19.89 kB / 0.8352 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.6005, allocations: 11.44 kB / 0.8352 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.6005, allocations: 0 / 0.8352 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of Templates: time 0.003251/0.6037, allocations: 0.9483 MB / 0.8361 GB, free: 10.06 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)