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_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001645/0.001645, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.32/1.32, allocations: 205.1 MB / 222 MB, free: 4.746 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.448/1.448, allocations: 251.6 MB / 0.5088 GB, free: 3.379 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.001294/0.001294, allocations: 71.91 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4931, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002355/0.4955, allocations: 1.345 MB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000983/0.4965, allocations: 0.6228 MB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.4966, allocations: 0 / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.4966, allocations: 3.984 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.311e-05/0.4966, allocations: 4 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.4971, allocations: 122.2 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.4971, allocations: 23.8 kB / 0.7259 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.4972, allocations: 7.984 kB / 0.7259 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.4972, allocations: 8 kB / 0.7259 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.956e-05/0.4972, allocations: 11.92 kB / 0.7259 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.4973, allocations: 0 / 0.7259 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.4977, allocations: 343.3 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.4977, allocations: 8 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.4978, allocations: 11.94 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.498, allocations: 145.7 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.498, allocations: 0 / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.498, allocations: 3.938 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.498, allocations: 3.938 kB / 0.7264 GB, free: 10.51 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.0003997/0.4984, allocations: 355.5 kB / 0.7267 GB, free: 10.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4985, allocations: 8.031 kB / 0.7267 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.4985, allocations: 4.938 kB / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.4986, allocations: 176.2 kB / 0.7269 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.4986, allocations: 4.375 kB / 0.7269 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.4987, allocations: 8.375 kB / 0.7269 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.4988, allocations: 38.25 kB / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4988, allocations: 192 / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.4988, allocations: 11.92 kB / 0.727 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4988, allocations: 0 / 0.727 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.4989, allocations: 4 kB / 0.727 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.4991, allocations: 161.6 kB / 0.7271 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.4993, allocations: 46.61 kB / 0.7272 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.4993, allocations: 24.94 kB / 0.7272 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.4994, allocations: 0 / 0.7272 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.4994, allocations: 34.56 kB / 0.7272 GB, free: 9.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4994, allocations: 0 / 0.7272 GB, free: 9.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006824/0.5001, allocations: 306.2 kB / 0.7275 GB, free: 9.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5001, allocations: 59.34 kB / 0.7276 GB, free: 9.066 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.5002, allocations: 97.84 kB / 0.7277 GB, free: 8.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.5002, allocations: 25.7 kB / 0.7277 GB, free: 8.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.5003, allocations: 84.14 kB / 0.7278 GB, free: 8.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.5003, allocations: 19.66 kB / 0.7278 GB, free: 8.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.5003, allocations: 21.7 kB / 0.7278 GB, free: 8.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.5004, allocations: 314.8 kB / 0.7281 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.5005, allocations: 15.98 kB / 0.7281 GB, free: 8.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.5005, allocations: 12 kB / 0.7282 GB, free: 8.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.5006, allocations: 32.86 kB / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5006, allocations: 0 / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.717e-05/0.5007, allocations: 69.75 kB / 0.7283 GB, free: 8.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5007, allocations: 15.88 kB / 0.7283 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5007, allocations: 0 / 0.7283 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5007, allocations: 0 / 0.7283 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.5008, allocations: 11.98 kB / 0.7283 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5008, allocations: 7.938 kB / 0.7283 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.5008, allocations: 4 kB / 0.7283 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.5008, allocations: 4 kB / 0.7283 GB, free: 8.301 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 7.46e-05/0.5009, allocations: 109.8 kB / 0.7284 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.5009, allocations: 7.844 kB / 0.7284 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.5011, allocations: 77.58 kB / 0.7285 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5011, allocations: 4 kB / 0.7285 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5011, allocations: 0 / 0.7285 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5011, allocations: 0 / 0.7285 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.5014, allocations: 311.4 kB / 0.7288 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5014, allocations: 0 / 0.7288 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.5015, allocations: 15.94 kB / 0.7288 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5015, allocations: 0.5156 kB / 0.7288 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.5015, allocations: 4.172 kB / 0.7288 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5015, allocations: 4 kB / 0.7288 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5015, allocations: 4 kB / 0.7288 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.5017, allocations: 176.4 kB / 0.729 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.5018, allocations: 89.03 kB / 0.7291 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.5018, allocations: 4 kB / 0.7291 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.5019, allocations: 0 / 0.7291 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.5019, allocations: 11.92 kB / 0.7291 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.5019, allocations: 3.984 kB / 0.7291 GB, free: 7.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.502, allocations: 79.28 kB / 0.7292 GB, free: 7.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.502, allocations: 0 / 0.7292 GB, free: 7.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002512/0.5022, allocations: 24 kB / 0.7292 GB, free: 7.277 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001926/0.5024, allocations: 127.2 kB / 0.7293 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.5025, allocations: 31.98 kB / 0.7293 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5025, allocations: 0 / 0.7293 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.5026, allocations: 19.94 kB / 0.7293 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.5028, allocations: 15.86 kB / 0.7294 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.5032, allocations: 198.2 kB / 0.7296 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5035, allocations: 0.6841 MB / 0.7302 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.5035, allocations: 19.91 kB / 0.7302 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.5035, allocations: 11.44 kB / 0.7303 GB, free: 6.117 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.5036, allocations: 0 / 0.7303 GB, free: 6.117 MB / 0.545 GB Notification: Performance of Templates: time 0.00279/0.5063, allocations: 0.6332 MB / 0.7309 GB, free: 5.523 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)