Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 103.8 kB / 16.29 MB, free: 6.43 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.001083/0.001083, allocations: 187.9 kB / 17.22 MB, free: 5.934 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 / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.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.001408/0.001408, allocations: 75.83 kB / 0.6722 GB, free: 6.473 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2055, allocations: 114.6 MB / 0.7841 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002385/0.208, allocations: 1.272 MB / 0.7853 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.2089, allocations: 0.6189 MB / 0.7859 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.2089, allocations: 0 / 0.7859 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.2089, allocations: 3.938 kB / 0.7859 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.015e-05/0.209, allocations: 0 / 0.7859 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.2095, allocations: 155.3 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.2095, allocations: 35.84 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.2096, allocations: 0 / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.2096, allocations: 8 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.2097, allocations: 19.92 kB / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2097, allocations: 0 / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004917/0.2102, allocations: 347.3 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.2102, allocations: 8 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.2102, allocations: 11.92 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2105, allocations: 155.9 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2105, allocations: 0 / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2105, allocations: 0 / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2105, allocations: 0 / 0.7866 GB, free: 1.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003711/0.2109, allocations: 371.4 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2109, allocations: 15.97 kB / 0.787 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.211, allocations: 8.844 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.438e-05/0.2111, allocations: 164.3 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2111, allocations: 8.375 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.2111, allocations: 384 / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.2112, allocations: 46.25 kB / 0.7872 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2112, allocations: 4.188 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2112, allocations: 3.938 kB / 0.7872 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2113, allocations: 4 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.2113, allocations: 23.92 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.2115, allocations: 169.6 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.2116, allocations: 62.56 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.2116, allocations: 28.84 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2116, allocations: 3.984 kB / 0.7875 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2117, allocations: 34.56 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2117, allocations: 4 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.3487/0.5604, allocations: 0.5799 MB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.5604, allocations: 53.91 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.5605, allocations: 92.73 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.5605, allocations: 29.17 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.505e-05/0.5605, allocations: 81.36 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.5606, allocations: 50.61 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.5606, allocations: 23.34 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.5607, allocations: 323.7 kB / 0.7887 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.5607, allocations: 17.59 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.5607, allocations: 22.48 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.25e-05/0.5608, allocations: 61.75 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5608, allocations: 0 / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001278/0.561, allocations: 96.73 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.561, allocations: 5.875 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.561, allocations: 1.844 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.561, allocations: 0 / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.5611, allocations: 25.94 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.5611, allocations: 4.719 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.5612, allocations: 3.375 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.5612, allocations: 2.875 kB / 0.789 GB, free: 47.73 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 5.08e-05/0.5612, allocations: 118.4 kB / 0.7891 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.5613, allocations: 10.69 kB / 0.7891 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.5614, allocations: 105.6 kB / 0.7892 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5614, allocations: 6.719 kB / 0.7892 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5615, allocations: 1.5 kB / 0.7892 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5615, allocations: 0 / 0.7892 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.5618, allocations: 353.3 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5618, allocations: 2.875 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5619, allocations: 18.89 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5619, allocations: 2.625 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.5619, allocations: 2.125 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.5619, allocations: 3.125 kB / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5619, allocations: 0 / 0.7896 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.5621, allocations: 226.2 kB / 0.7898 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.5621, allocations: 79.73 kB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.5622, allocations: 9.531 kB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.5623, allocations: 2.625 kB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.5623, allocations: 7.594 kB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.5623, allocations: 5.25 kB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.827e-05/0.5623, allocations: 79.44 kB / 0.79 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5623, allocations: 0 / 0.79 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002625/0.5626, allocations: 45 kB / 0.79 GB, free: 46.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.000174/0.5628, allocations: 127.5 kB / 0.7901 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.5629, allocations: 64.84 kB / 0.7902 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5629, allocations: 0 / 0.7902 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.563, allocations: 34.02 kB / 0.7902 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.5632, allocations: 10.83 kB / 0.7902 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.5636, allocations: 286.6 kB / 0.7905 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.986e-05/0.5637, allocations: 0.6876 MB / 0.7912 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.5638, allocations: 10.34 kB / 0.7912 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.5638, allocations: 12.69 kB / 0.7912 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.5638, allocations: 2.625 kB / 0.7912 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.002903/0.5667, allocations: 0.9334 MB / 0.7921 GB, free: 45.99 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)