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.001613/0.001612, allocations: 103.2 kB / 16.36 MB, free: 6.301 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.001777/0.001777, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001466/0.001467, allocations: 75.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2511, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002736/0.2539, allocations: 1.275 MB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.255, allocations: 0.6188 MB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.2551, allocations: 0 / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.2551, allocations: 3.938 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.2552, allocations: 7.922 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.2558, allocations: 152.6 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.2559, allocations: 31.86 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.2559, allocations: 0 / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.256, allocations: 15.98 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.256, allocations: 15.91 kB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2561, allocations: 0 / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.2566, allocations: 339.3 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.2566, allocations: 15.97 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.2566, allocations: 11.94 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.2569, allocations: 155.6 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2569, allocations: 0 / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2569, allocations: 4 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2569, allocations: 0 / 0.7874 GB, free: 0.5078 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.0004688/0.2574, allocations: 367.4 kB / 0.7877 GB, free: 100 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2574, allocations: 8.031 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.2575, allocations: 12.84 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.353/0.6105, allocations: 162.9 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.6106, allocations: 1.062 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.6106, allocations: 3.156 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.6108, allocations: 49.56 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.6108, allocations: 1.781 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.6108, allocations: 8.547 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.6108, allocations: 2.562 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.585e-05/0.6109, allocations: 26.7 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.6111, allocations: 159.4 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.6112, allocations: 65.36 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.6113, allocations: 26.2 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.6113, allocations: 3.281 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.6113, allocations: 31.12 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.6113, allocations: 2.75 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001046/0.6124, allocations: 0.59 MB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.6124, allocations: 56.66 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.6125, allocations: 94.61 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.6125, allocations: 29.36 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.744e-05/0.6125, allocations: 81.14 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.6125, allocations: 44.42 kB / 0.7891 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.6126, allocations: 30.45 kB / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.6126, allocations: 317.8 kB / 0.7894 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.6127, allocations: 14.06 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.6127, allocations: 28.62 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.6128, allocations: 58.66 kB / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6128, allocations: 2.844 kB / 0.7895 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001218/0.6129, allocations: 96.62 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.613, allocations: 5.844 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.613, allocations: 3.938 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.613, allocations: 2.188 kB / 0.7896 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.6131, allocations: 20.94 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6131, allocations: 6.188 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.6132, allocations: 3.938 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.6132, allocations: 2.531 kB / 0.7897 GB, free: 47.35 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.786e-05/0.6132, allocations: 119.6 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.6132, allocations: 6.688 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.6134, allocations: 111.2 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6134, allocations: 3.344 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6135, allocations: 0 / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6135, allocations: 5.922 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.6138, allocations: 348.2 kB / 0.7902 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6138, allocations: 1.25 kB / 0.7902 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.6139, allocations: 20.23 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6139, allocations: 2.531 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.6139, allocations: 3.156 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6139, allocations: 6.297 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6139, allocations: 2.594 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.6141, allocations: 218.2 kB / 0.7905 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.6141, allocations: 85.17 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.6142, allocations: 2.188 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.6143, allocations: 7.188 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.6143, allocations: 6.047 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.6143, allocations: 3.188 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.931e-05/0.6143, allocations: 82.22 kB / 0.7907 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6143, allocations: 0.625 kB / 0.7907 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002574/0.6146, allocations: 38.62 kB / 0.7907 GB, free: 46.59 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.0001871/0.6148, allocations: 132.7 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.6149, allocations: 66.42 kB / 0.7909 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6149, allocations: 0 / 0.7909 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.144e-05/0.615, allocations: 35.45 kB / 0.7909 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.6152, allocations: 10.81 kB / 0.7909 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.6157, allocations: 320.5 kB / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.6159, allocations: 0.6826 MB / 0.7919 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.6159, allocations: 24.14 kB / 0.7919 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6159, allocations: 0 / 0.7919 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.002633/0.6185, allocations: 1.124 MB / 0.793 GB, free: 45.54 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)