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.00472/0.004721, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001128/0.001128, allocations: 199.3 kB / 16.67 MB, free: 5.969 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: 4.387 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.529/1.529, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001511/0.001511, allocations: 67.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.255, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002693/0.2578, allocations: 1.485 MB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2589, allocations: 0.6227 MB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.259, allocations: 4 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.259, allocations: 7.922 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.2591, allocations: 11.92 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.2597, allocations: 155.4 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.2598, allocations: 47.83 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.2599, allocations: 8 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.488e-05/0.2599, allocations: 23.92 kB / 0.8304 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.26, allocations: 31.84 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.26, allocations: 4 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.2605, allocations: 347.3 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.2606, allocations: 11.97 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.2606, allocations: 19.88 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.2609, allocations: 183.5 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2609, allocations: 0 / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2609, allocations: 4 kB / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2609, allocations: 0 / 0.8309 GB, free: 13.26 MB / 0.6544 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.0006909/0.2616, allocations: 407.2 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2617, allocations: 11.97 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.2617, allocations: 4.938 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2619, allocations: 168.2 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.2619, allocations: 8.312 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.262, allocations: 8.375 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2622, allocations: 78.2 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2622, allocations: 4.188 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2623, allocations: 7.938 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2623, allocations: 0 / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.2625, allocations: 47.97 kB / 0.8316 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.2631, allocations: 332.5 kB / 0.832 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.2634, allocations: 82.53 kB / 0.832 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.2636, allocations: 24.84 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.2636, allocations: 4 kB / 0.8321 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.2636, allocations: 34.56 kB / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2637, allocations: 0 / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001743/0.2654, allocations: 0.6497 MB / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.2655, allocations: 55.41 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.2656, allocations: 109.8 kB / 0.8329 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2656, allocations: 25.7 kB / 0.8329 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.2656, allocations: 95.98 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.2657, allocations: 35.45 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.2657, allocations: 29.7 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2658, allocations: 318.8 kB / 0.8334 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.266, allocations: 32.09 kB / 0.8334 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2661, allocations: 31.98 kB / 0.8334 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.2664, allocations: 79.08 kB / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2664, allocations: 0 / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003124/0.2667, allocations: 113.6 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2667, allocations: 4 kB / 0.8336 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2667, allocations: 0 / 0.8336 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2668, allocations: 4 kB / 0.8336 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2669, allocations: 27.97 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2669, allocations: 4 kB / 0.8337 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.267, allocations: 7.938 kB / 0.8337 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.267, allocations: 4 kB / 0.8337 GB, free: 10.14 MB / 0.6544 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 9.171e-05/0.2671, allocations: 117.8 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.2672, allocations: 11.89 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.2676, allocations: 133.9 kB / 0.8339 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2676, allocations: 96 / 0.8339 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2676, allocations: 7.938 kB / 0.8339 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2676, allocations: 3.938 kB / 0.8339 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.2681, allocations: 382.5 kB / 0.8343 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2682, allocations: 0 / 0.8343 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.2683, allocations: 27.92 kB / 0.8343 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2683, allocations: 0 / 0.8343 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2683, allocations: 7.938 kB / 0.8343 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2684, allocations: 4 kB / 0.8343 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2684, allocations: 4 kB / 0.8343 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.2689, allocations: 247.3 kB / 0.8346 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.2689, allocations: 85 kB / 0.8346 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.269, allocations: 11.97 kB / 0.8347 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2691, allocations: 4 kB / 0.8347 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.2691, allocations: 16.05 kB / 0.8347 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.2692, allocations: 4 kB / 0.8347 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.2692, allocations: 83.27 kB / 0.8348 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2692, allocations: 0 / 0.8348 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002907/0.2695, allocations: 43.94 kB / 0.8348 GB, free: 8.867 MB / 0.6544 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.0002706/0.2698, allocations: 123.2 kB / 0.8349 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.2702, allocations: 92.5 kB / 0.835 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2702, allocations: 4 kB / 0.835 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.2704, allocations: 39.98 kB / 0.8351 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.2707, allocations: 15.92 kB / 0.8351 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.2715, allocations: 309.8 kB / 0.8354 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.2718, allocations: 0.6961 MB / 0.836 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.716e-05/0.2719, allocations: 12.61 kB / 0.8361 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.2719, allocations: 15.42 kB / 0.8361 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.2719, allocations: 4 kB / 0.8361 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of Templates: time 0.003894/0.2758, allocations: 1.147 MB / 0.8372 GB, free: 6.406 MB / 0.6544 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)