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.008462/0.008462, allocations: 102.7 kB / 15.73 MB, free: 5.539 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.001675/0.001675, allocations: 193.2 kB / 16.67 MB, free: 5.469 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.398/1.398, 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.358/1.358, allocations: 251.7 MB / 0.5094 GB, free: 408 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.001419/0.001419, allocations: 71.91 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.604, allocations: 104.7 MB / 0.828 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00226/0.6063, allocations: 1.291 MB / 0.8293 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.6073, allocations: 0.621 MB / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.6074, allocations: 0 / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.6074, allocations: 0 / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.6075, allocations: 7.922 kB / 0.8299 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.608, allocations: 143.4 kB / 0.83 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.038e-05/0.6081, allocations: 35.84 kB / 0.8301 GB, free: 492 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.6081, allocations: 0 / 0.8301 GB, free: 492 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.6081, allocations: 12 kB / 0.8301 GB, free: 480 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.6082, allocations: 19.92 kB / 0.8301 GB, free: 460 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.6082, allocations: 0 / 0.8301 GB, free: 460 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.6087, allocations: 347.3 kB / 0.8304 GB, free: 112 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.6087, allocations: 7.984 kB / 0.8304 GB, free: 104 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.6088, allocations: 11.94 kB / 0.8305 GB, free: 92 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.609, allocations: 157.4 kB / 0.8306 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.609, allocations: 0 / 0.8306 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.923e-06/0.609, allocations: 0 / 0.8306 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.6091, allocations: 3.938 kB / 0.8306 GB, free: 15.94 MB / 0.6387 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.0004018/0.6095, allocations: 375.4 kB / 0.831 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6095, allocations: 8.031 kB / 0.831 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.6096, allocations: 8.844 kB / 0.831 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.472e-05/0.6097, allocations: 160.4 kB / 0.8311 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.6097, allocations: 384 / 0.8311 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.6097, allocations: 8.312 kB / 0.8311 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.6098, allocations: 54.23 kB / 0.8312 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6099, allocations: 192 / 0.8312 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.6099, allocations: 3.938 kB / 0.8312 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6099, allocations: 0 / 0.8312 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.6099, allocations: 23.98 kB / 0.8312 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.6101, allocations: 165.7 kB / 0.8314 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.6102, allocations: 58.5 kB / 0.8314 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.6103, allocations: 32.84 kB / 0.8315 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.6103, allocations: 0 / 0.8315 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.6103, allocations: 30.56 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.6103, allocations: 4 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.001111/0.6115, allocations: 0.5994 MB / 0.8321 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6115, allocations: 55.41 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.6116, allocations: 97.86 kB / 0.8322 GB, free: 14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6116, allocations: 29.7 kB / 0.8323 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.6116, allocations: 87.98 kB / 0.8323 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.6117, allocations: 35.47 kB / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.6117, allocations: 25.7 kB / 0.8324 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.6118, allocations: 314.8 kB / 0.8327 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.6119, allocations: 23.98 kB / 0.8327 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.6119, allocations: 23.98 kB / 0.8328 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.558e-05/0.612, allocations: 56.92 kB / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.612, allocations: 4 kB / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001358/0.6122, allocations: 100.7 kB / 0.8329 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6122, allocations: 11.94 kB / 0.8329 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6122, allocations: 0 / 0.8329 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.6122, allocations: 0 / 0.8329 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.6123, allocations: 20 kB / 0.8329 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6123, allocations: 7.938 kB / 0.8329 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.6124, allocations: 3.984 kB / 0.8329 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.6124, allocations: 4 kB / 0.833 GB, free: 13.23 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 7.325e-05/0.6125, allocations: 117.8 kB / 0.8331 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.6125, allocations: 11.84 kB / 0.8331 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.6127, allocations: 105.5 kB / 0.8332 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6127, allocations: 4 kB / 0.8332 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6127, allocations: 0 / 0.8332 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6127, allocations: 7.922 kB / 0.8332 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.6131, allocations: 350.5 kB / 0.8335 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6131, allocations: 0 / 0.8335 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.6132, allocations: 20 kB / 0.8335 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6132, allocations: 4 kB / 0.8335 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.6132, allocations: 4 kB / 0.8335 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6132, allocations: 7.938 kB / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6133, allocations: 0 / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.6135, allocations: 219.3 kB / 0.8338 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.6135, allocations: 81.14 kB / 0.8338 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.6136, allocations: 0 / 0.8338 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.6136, allocations: 3.938 kB / 0.8338 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.6137, allocations: 16.05 kB / 0.8339 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.6137, allocations: 4 kB / 0.8339 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.839e-05/0.6137, allocations: 75.28 kB / 0.8339 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6137, allocations: 4 kB / 0.8339 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00027/0.614, allocations: 35.98 kB / 0.834 GB, free: 12.07 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.0001974/0.6142, allocations: 132.2 kB / 0.8341 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.6144, allocations: 67.91 kB / 0.8342 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6144, allocations: 4.094 kB / 0.8342 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.6144, allocations: 31.92 kB / 0.8342 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.6147, allocations: 8.656 kB / 0.8342 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.6152, allocations: 288.9 kB / 0.8345 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.6154, allocations: 0.6922 MB / 0.8352 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.6155, allocations: 15.89 kB / 0.8352 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.6155, allocations: 15.42 kB / 0.8352 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.6155, allocations: 0 / 0.8352 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.003252/0.6187, allocations: 0.9523 MB / 0.8361 GB, free: 9.852 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)