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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001216/0.001216, allocations: 192.6 kB / 16.25 MB, free: 6.156 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.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.521/1.521, allocations: 251.6 MB / 0.5089 GB, free: 3.227 MB / 414.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.001239/0.001239, allocations: 67.91 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4282, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002228/0.4305, allocations: 1.337 MB / 0.7253 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008961/0.4314, allocations: 0.6111 MB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.4315, allocations: 4 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.4315, allocations: 0 / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.4315, allocations: 0 / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.432, allocations: 134.3 kB / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.669e-05/0.4321, allocations: 19.94 kB / 0.726 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.4321, allocations: 4 kB / 0.726 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.14e-05/0.4322, allocations: 7.938 kB / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.4322, allocations: 11.98 kB / 0.7261 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.4322, allocations: 0 / 0.7261 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.4327, allocations: 343.3 kB / 0.7264 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.4327, allocations: 3.938 kB / 0.7264 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.4327, allocations: 4 kB / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.433, allocations: 153.6 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.433, allocations: 0 / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.433, allocations: 3.938 kB / 0.7266 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.433, allocations: 0 / 0.7266 GB, free: 10.47 MB / 0.545 GB 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.0003929/0.4334, allocations: 367.3 kB / 0.7269 GB, free: 10.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4334, allocations: 12.03 kB / 0.7269 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.4335, allocations: 0.9375 kB / 0.7269 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/0.4336, allocations: 172.2 kB / 0.7271 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.4336, allocations: 4.375 kB / 0.7271 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.4336, allocations: 4.375 kB / 0.7271 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/0.4337, allocations: 42.25 kB / 0.7271 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.4337, allocations: 192 / 0.7271 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.4337, allocations: 3.938 kB / 0.7271 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.4337, allocations: 0 / 0.7271 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.965e-05/0.4338, allocations: 19.97 kB / 0.7272 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.4339, allocations: 153.7 kB / 0.7273 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.4341, allocations: 46.5 kB / 0.7273 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.4341, allocations: 16.86 kB / 0.7274 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.4342, allocations: 0 / 0.7274 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.4342, allocations: 34.56 kB / 0.7274 GB, free: 9.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4342, allocations: 4 kB / 0.7274 GB, free: 9.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005648/0.4348, allocations: 310.3 kB / 0.7277 GB, free: 9.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.4348, allocations: 51.41 kB / 0.7277 GB, free: 9.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.4349, allocations: 105.8 kB / 0.7278 GB, free: 8.914 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.4349, allocations: 25.7 kB / 0.7279 GB, free: 8.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.435, allocations: 84.14 kB / 0.7279 GB, free: 8.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.435, allocations: 27.64 kB / 0.728 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.435, allocations: 21.7 kB / 0.728 GB, free: 8.742 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4351, allocations: 318.8 kB / 0.7283 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.4352, allocations: 7.984 kB / 0.7283 GB, free: 8.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.4352, allocations: 12 kB / 0.7283 GB, free: 8.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.284e-05/0.4353, allocations: 36.86 kB / 0.7284 GB, free: 8.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4353, allocations: 0 / 0.7284 GB, free: 8.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.8e-05/0.4354, allocations: 61.84 kB / 0.7284 GB, free: 8.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.4354, allocations: 7.938 kB / 0.7284 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4354, allocations: 0 / 0.7284 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.4354, allocations: 3.938 kB / 0.7284 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.4355, allocations: 15.98 kB / 0.7284 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4355, allocations: 4.062 kB / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.4355, allocations: 0 / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.4355, allocations: 4 kB / 0.7284 GB, free: 8.262 MB / 0.545 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 (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.278e-05/0.4356, allocations: 113.8 kB / 0.7286 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.4356, allocations: 11.78 kB / 0.7286 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.4358, allocations: 85.52 kB / 0.7286 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4358, allocations: 0 / 0.7286 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4358, allocations: 0 / 0.7286 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4358, allocations: 0 / 0.7286 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.4361, allocations: 307.4 kB / 0.7289 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4361, allocations: 4.031 kB / 0.7289 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.149e-05/0.4361, allocations: 19.92 kB / 0.729 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4362, allocations: 0 / 0.729 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.4362, allocations: 0 / 0.729 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4362, allocations: 4.188 kB / 0.729 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4362, allocations: 4 kB / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.4364, allocations: 176.3 kB / 0.7291 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.4364, allocations: 93.61 kB / 0.7292 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.4365, allocations: 0 / 0.7292 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.4365, allocations: 4 kB / 0.7292 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.4366, allocations: 11.92 kB / 0.7292 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.4366, allocations: 4 kB / 0.7292 GB, free: 7.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.4366, allocations: 79.27 kB / 0.7293 GB, free: 7.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4366, allocations: 0 / 0.7293 GB, free: 7.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002432/0.4369, allocations: 24 kB / 0.7293 GB, free: 7.223 MB / 0.545 GB 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.0001941/0.4371, allocations: 123.2 kB / 0.7295 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.4372, allocations: 39.92 kB / 0.7295 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4372, allocations: 0 / 0.7295 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.4372, allocations: 19.98 kB / 0.7295 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4375, allocations: 3.938 kB / 0.7295 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.4379, allocations: 208.1 kB / 0.7297 GB, free: 6.801 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.4383, allocations: 0.6807 MB / 0.7304 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.4383, allocations: 4 kB / 0.7304 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.4384, allocations: 15.44 kB / 0.7304 GB, free: 6.074 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4384, allocations: 0 / 0.7304 GB, free: 6.074 MB / 0.545 GB Notification: Performance of Templates: time 0.002784/0.4412, allocations: 0.6392 MB / 0.731 GB, free: 5.473 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)