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_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, 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.001171/0.001171, allocations: 194.8 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.405/1.405, allocations: 205.1 MB / 222 MB, free: 4.773 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.48/1.48, allocations: 251.6 MB / 0.5088 GB, free: 3.387 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.001391/0.001391, allocations: 63.92 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4902, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002578/0.4928, allocations: 1.541 MB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.4939, allocations: 0.654 MB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.4939, allocations: 0 / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.494, allocations: 7.984 kB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/0.494, allocations: 7.922 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.4945, allocations: 135.6 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.701e-05/0.4946, allocations: 55.59 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.4947, allocations: 4 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.4947, allocations: 19.92 kB / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.4948, allocations: 31.84 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.4948, allocations: 4 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.4953, allocations: 343.3 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.4953, allocations: 11.97 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.4953, allocations: 23.88 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.4956, allocations: 173.5 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4956, allocations: 0 / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.21e-07/0.4956, allocations: 0 / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4956, allocations: 0 / 0.7267 GB, free: 10.15 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005739/0.4962, allocations: 407.2 kB / 0.7271 GB, free: 9.699 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4963, allocations: 8.031 kB / 0.7271 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.4963, allocations: 8.875 kB / 0.7271 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.4964, allocations: 172.2 kB / 0.7273 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.4965, allocations: 384 / 0.7273 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.4965, allocations: 12.38 kB / 0.7273 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.4967, allocations: 74.22 kB / 0.7274 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4967, allocations: 4.172 kB / 0.7274 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.4968, allocations: 11.88 kB / 0.7274 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.4968, allocations: 8 kB / 0.7274 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.497, allocations: 47.91 kB / 0.7275 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.4975, allocations: 328.6 kB / 0.7278 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.4978, allocations: 86.45 kB / 0.7279 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.4979, allocations: 32.84 kB / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.498, allocations: 0 / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.498, allocations: 30.56 kB / 0.7279 GB, free: 8.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.498, allocations: 0 / 0.7279 GB, free: 8.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001628/0.4996, allocations: 0.6424 MB / 0.7285 GB, free: 8.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.4997, allocations: 55.34 kB / 0.7286 GB, free: 7.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.4998, allocations: 113.8 kB / 0.7287 GB, free: 7.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4998, allocations: 29.7 kB / 0.7287 GB, free: 7.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.4998, allocations: 87.98 kB / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.4999, allocations: 35.45 kB / 0.7289 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.4999, allocations: 33.7 kB / 0.7289 GB, free: 7.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.5, allocations: 314.8 kB / 0.7292 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.5002, allocations: 35.97 kB / 0.7292 GB, free: 7.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.5003, allocations: 31.36 kB / 0.7292 GB, free: 7.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.5005, allocations: 76.77 kB / 0.7293 GB, free: 7.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5005, allocations: 0 / 0.7293 GB, free: 7.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002965/0.5008, allocations: 113.8 kB / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5009, allocations: 8 kB / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5009, allocations: 0 / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.5009, allocations: 0 / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.501, allocations: 35.91 kB / 0.7295 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5011, allocations: 0 / 0.7295 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.5011, allocations: 11.94 kB / 0.7295 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5011, allocations: 4 kB / 0.7295 GB, free: 7.023 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 (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 8.02e-05/0.5012, allocations: 113.8 kB / 0.7296 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.5013, allocations: 7.906 kB / 0.7296 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.5016, allocations: 133.5 kB / 0.7297 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.5016, allocations: 0 / 0.7297 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5016, allocations: 3.938 kB / 0.7297 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5017, allocations: 7.938 kB / 0.7297 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.5022, allocations: 378.7 kB / 0.7301 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.5022, allocations: 0 / 0.7301 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.5023, allocations: 27.92 kB / 0.7301 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.5024, allocations: 4 kB / 0.7301 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.5024, allocations: 15.97 kB / 0.7301 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5024, allocations: 3.938 kB / 0.7302 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5024, allocations: 0 / 0.7302 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.5029, allocations: 243.4 kB / 0.7304 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.5029, allocations: 89.03 kB / 0.7305 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.503, allocations: 3.938 kB / 0.7305 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.5031, allocations: 8.062 kB / 0.7305 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.5031, allocations: 12.17 kB / 0.7305 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.5031, allocations: 4 kB / 0.7305 GB, free: 5.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.5032, allocations: 83.27 kB / 0.7306 GB, free: 5.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5032, allocations: 3.938 kB / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002624/0.5034, allocations: 39.92 kB / 0.7306 GB, free: 5.758 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002082/0.5037, allocations: 135.2 kB / 0.7307 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.504, allocations: 83.94 kB / 0.7308 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.504, allocations: 0 / 0.7308 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5041, allocations: 47.92 kB / 0.7309 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.5044, allocations: 7.984 kB / 0.7309 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.5051, allocations: 342.8 kB / 0.7312 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.5053, allocations: 0.6926 MB / 0.7319 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.905e-05/0.5054, allocations: 12.67 kB / 0.7319 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.5054, allocations: 15.44 kB / 0.7319 GB, free: 4.367 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.5054, allocations: 0 / 0.7319 GB, free: 4.367 MB / 0.545 GB Notification: Performance of Templates: time 0.003434/0.5089, allocations: 1.114 MB / 0.733 GB, free: 3.297 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)