Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_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.001317/0.001317, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 196.1 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 67.84 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.6967, allocations: 140.3 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002577/0.6993, allocations: 1.537 MB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.7003, allocations: 0.6478 MB / 0.9517 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.7003, allocations: 0 / 0.9517 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.7003, allocations: 3.984 kB / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.7004, allocations: 9.297 kB / 0.9517 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.7009, allocations: 137.7 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.701, allocations: 53.78 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.701, allocations: 4.125 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.7011, allocations: 21.55 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.7011, allocations: 28.16 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.7012, allocations: 2.75 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.7016, allocations: 342 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.7016, allocations: 19.66 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.7017, allocations: 18.84 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.7019, allocations: 120.8 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7019, allocations: 4 kB / 0.9524 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7019, allocations: 0.9375 kB / 0.9524 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7019, allocations: 0 / 0.9524 GB, free: 7.004 MB / 0.7169 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.0005382/0.7025, allocations: 395.5 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7025, allocations: 8.688 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.7026, allocations: 9.25 kB / 0.9528 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.141e-05/0.7027, allocations: 169.6 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.7027, allocations: 8.25 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.7027, allocations: 12.16 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.703, allocations: 74.56 kB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.703, allocations: 5.531 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.703, allocations: 7.875 kB / 0.9531 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.703, allocations: 6.734 kB / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.7032, allocations: 48.39 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.7037, allocations: 328.5 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.704, allocations: 79.28 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.7041, allocations: 31.48 kB / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.7042, allocations: 9.156 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.7042, allocations: 31.53 kB / 0.9536 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.7042, allocations: 0 / 0.9536 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001481/0.7057, allocations: 0.6489 MB / 0.9543 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.7057, allocations: 52.75 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.7058, allocations: 107.3 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.7058, allocations: 26.86 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.7058, allocations: 89.3 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.7059, allocations: 44.89 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.7059, allocations: 34.14 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.706, allocations: 312.2 kB / 0.9549 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.7061, allocations: 34.22 kB / 0.9549 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.7062, allocations: 31.95 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.7064, allocations: 66.7 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.7064, allocations: 0 / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003214/0.7068, allocations: 123.4 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7068, allocations: 8.906 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7068, allocations: 3.984 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7068, allocations: 0 / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.707, allocations: 28.12 kB / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.707, allocations: 1.25 kB / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.7071, allocations: 11.81 kB / 0.9552 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.7071, allocations: 2.469 kB / 0.9552 GB, free: 4.438 MB / 0.7169 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 6.262e-05/0.7071, allocations: 121.6 kB / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.7072, allocations: 6 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.7075, allocations: 127.6 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.7075, allocations: 1.812 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7075, allocations: 0 / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7076, allocations: 9 kB / 0.9554 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.708, allocations: 393.6 kB / 0.9558 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.708, allocations: 0 / 0.9558 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.7082, allocations: 24.08 kB / 0.9558 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7082, allocations: 0 / 0.9558 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.7082, allocations: 6.031 kB / 0.9558 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7082, allocations: 0 / 0.9558 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7082, allocations: 0.875 kB / 0.9558 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.7087, allocations: 256 kB / 0.9561 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.7087, allocations: 82.78 kB / 0.9562 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.7087, allocations: 9.094 kB / 0.9562 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7088, allocations: 12.73 kB / 0.9562 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.7089, allocations: 11.27 kB / 0.9562 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.7089, allocations: 3.344 kB / 0.9562 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.266e-05/0.7089, allocations: 82.72 kB / 0.9563 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7089, allocations: 4.062 kB / 0.9563 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002859/0.7092, allocations: 42.45 kB / 0.9563 GB, free: 3.418 MB / 0.7169 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.0002158/0.7094, allocations: 130 kB / 0.9564 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.7097, allocations: 88.78 kB / 0.9565 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7097, allocations: 0 / 0.9565 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.7099, allocations: 44.55 kB / 0.9566 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.7102, allocations: 16.05 kB / 0.9566 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.7108, allocations: 358 kB / 0.9569 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.7109, allocations: 0.6962 MB / 0.9576 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.711, allocations: 13.28 kB / 0.9576 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.711, allocations: 1.438 kB / 0.9576 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.002562/0.7135, allocations: 1.309 MB / 0.9589 GB, free: 1.559 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)