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.001038/0.001038, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001342/0.001342, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.553/1.553, allocations: 251.9 MB / 0.51 GB, free: 4.867 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.0008991/0.0008993, allocations: 15.44 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6013/0.6022, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001522/0.6038, allocations: 0.9884 MB / 0.7289 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006997/0.6045, allocations: 316.7 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.6045, allocations: 4 kB / 0.7293 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.6046, allocations: 3.984 kB / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.6046, allocations: 15.86 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.605, allocations: 58.98 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.353e-05/0.605, allocations: 15.91 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.6051, allocations: 8 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.6051, allocations: 11.98 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.6052, allocations: 7.938 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.6052, allocations: 0 / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.6055, allocations: 179.7 kB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.6055, allocations: 3.984 kB / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.6055, allocations: 29.7 kB / 0.7296 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.6057, allocations: 53.91 kB / 0.7296 GB, free: 9.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.6057, allocations: 0 / 0.7296 GB, free: 9.773 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6057, allocations: 0 / 0.7296 GB, free: 9.773 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6057, allocations: 0 / 0.7296 GB, free: 9.773 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.0003993/0.6061, allocations: 343.3 kB / 0.73 GB, free: 9.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6062, allocations: 12.03 kB / 0.73 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.6062, allocations: 0 / 0.73 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.6063, allocations: 167 kB / 0.7301 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.6063, allocations: 4 kB / 0.7301 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.6064, allocations: 0 / 0.7301 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.6065, allocations: 49.56 kB / 0.7302 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.6065, allocations: 0 / 0.7302 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6065, allocations: 4 kB / 0.7302 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6066, allocations: 3.938 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.6066, allocations: 15.98 kB / 0.7302 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.6068, allocations: 161.6 kB / 0.7303 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.607, allocations: 42.56 kB / 0.7304 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.607, allocations: 7.922 kB / 0.7304 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.6071, allocations: 38.56 kB / 0.7304 GB, free: 8.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.6071, allocations: 0 / 0.7304 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006215/0.6077, allocations: 294.4 kB / 0.7307 GB, free: 8.441 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.6077, allocations: 51.41 kB / 0.7308 GB, free: 8.379 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.6078, allocations: 101.8 kB / 0.7309 GB, free: 8.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.6078, allocations: 25.7 kB / 0.7309 GB, free: 8.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.6079, allocations: 80.14 kB / 0.731 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.6079, allocations: 23.66 kB / 0.731 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.6079, allocations: 4 kB / 0.731 GB, free: 8.129 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6081, allocations: 322.8 kB / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.6081, allocations: 15.98 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.6081, allocations: 11.98 kB / 0.7313 GB, free: 7.777 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.6082, allocations: 12 kB / 0.7313 GB, free: 7.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.6082, allocations: 0 / 0.7313 GB, free: 7.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.641e-05/0.6083, allocations: 65.62 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.6083, allocations: 4 kB / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6083, allocations: 240 / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.6083, allocations: 8 kB / 0.7314 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.6084, allocations: 8 kB / 0.7314 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6084, allocations: 3.984 kB / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.6084, allocations: 0 / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.6084, allocations: 4 kB / 0.7314 GB, free: 7.668 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.112e-05/0.6085, allocations: 113.8 kB / 0.7315 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.6085, allocations: 4 kB / 0.7315 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.6087, allocations: 77.48 kB / 0.7316 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6087, allocations: 0 / 0.7316 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6087, allocations: 4 kB / 0.7316 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6087, allocations: 0 / 0.7316 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.6091, allocations: 323.4 kB / 0.7319 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6091, allocations: 8.062 kB / 0.7319 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.6091, allocations: 11.98 kB / 0.7319 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6091, allocations: 0 / 0.7319 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.6092, allocations: 4 kB / 0.7319 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6092, allocations: 0 / 0.7319 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6092, allocations: 0 / 0.7319 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.6094, allocations: 194 kB / 0.7321 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.6094, allocations: 81.14 kB / 0.7322 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.6094, allocations: 4 kB / 0.7322 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.6095, allocations: 7.984 kB / 0.7322 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.6095, allocations: 0 / 0.7322 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.6096, allocations: 8.062 kB / 0.7322 GB, free: 6.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.6096, allocations: 75.28 kB / 0.7323 GB, free: 6.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6096, allocations: 0 / 0.7323 GB, free: 6.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002387/0.6099, allocations: 27.95 kB / 0.7323 GB, free: 6.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002074/0.6101, allocations: 127.1 kB / 0.7324 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.6102, allocations: 31.94 kB / 0.7325 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6102, allocations: 4 kB / 0.7325 GB, free: 6.453 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.6102, allocations: 15.98 kB / 0.7325 GB, free: 6.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.6104, allocations: 8.062 kB / 0.7325 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.6108, allocations: 225.9 kB / 0.7327 GB, free: 6.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.6111, allocations: 0.6919 MB / 0.7334 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.6111, allocations: 7.938 kB / 0.7334 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.6111, allocations: 11.44 kB / 0.7334 GB, free: 5.441 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6111, allocations: 0 / 0.7334 GB, free: 5.441 MB / 0.545 GB Notification: Performance of Templates: time 0.002933/0.6141, allocations: 0.6144 MB / 0.734 GB, free: 4.863 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: