Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 102.7 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.001087/0.001087, 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.365/1.365, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.845/1.845, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001474/0.001475, allocations: 63.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2476, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002691/0.2504, allocations: 1.264 MB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2515, allocations: 0.6071 MB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.2515, allocations: 3.938 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.2516, allocations: 0 / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.2516, allocations: 7.938 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.2522, allocations: 151.4 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.2522, allocations: 19.92 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.2523, allocations: 0 / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.2523, allocations: 4 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.2524, allocations: 19.91 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2524, allocations: 0 / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.253, allocations: 343.3 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.253, allocations: 0 / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.2531, allocations: 19.92 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.2534, allocations: 139.6 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.2534, allocations: 11.98 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2534, allocations: 0 / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.2534, allocations: 0 / 0.7873 GB, free: 0.5547 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005037/0.2539, allocations: 355.5 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.254, allocations: 8.031 kB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.254, allocations: 4.844 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3702/0.6242, allocations: 170.3 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.6243, allocations: 1.219 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.6243, allocations: 384 / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.6245, allocations: 45.36 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6245, allocations: 2.625 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6245, allocations: 0 / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6245, allocations: 0 / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.6246, allocations: 14.33 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.6247, allocations: 157.2 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.625, allocations: 45.89 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.625, allocations: 18.56 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.6251, allocations: 4.438 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.6251, allocations: 31.16 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.6251, allocations: 0 / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0005813/0.6257, allocations: 312.5 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6257, allocations: 60.88 kB / 0.7885 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.162e-05/0.6258, allocations: 98.72 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/0.6258, allocations: 26.77 kB / 0.7886 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/0.6258, allocations: 80.64 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.6258, allocations: 24.25 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.6259, allocations: 23.06 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.6259, allocations: 314.7 kB / 0.789 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.626, allocations: 12.08 kB / 0.789 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.626, allocations: 15.47 kB / 0.7891 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.6261, allocations: 31.92 kB / 0.7891 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6261, allocations: 0 / 0.7891 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.501e-05/0.6261, allocations: 59.33 kB / 0.7891 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6262, allocations: 8.047 kB / 0.7891 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6262, allocations: 1.219 kB / 0.7891 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6262, allocations: 6.625 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.916e-05/0.6263, allocations: 15.45 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6263, allocations: 5.359 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.6263, allocations: 5.844 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.6263, allocations: 0 / 0.7892 GB, free: 47.48 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 (7): * Single equations (assignments): 7 * 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 4.815e-05/0.6264, allocations: 112.5 kB / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.6264, allocations: 9.328 kB / 0.7893 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.6265, allocations: 74.17 kB / 0.7894 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6265, allocations: 4.531 kB / 0.7894 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.6265, allocations: 1.656 kB / 0.7894 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6265, allocations: 6.172 kB / 0.7894 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.6268, allocations: 311.2 kB / 0.7897 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6268, allocations: 3.938 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.6269, allocations: 9.469 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6269, allocations: 3.75 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.6269, allocations: 7.609 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6269, allocations: 0 / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6269, allocations: 3.75 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.627, allocations: 175.8 kB / 0.7899 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.6271, allocations: 90.08 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.6271, allocations: 0 / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.6272, allocations: 10.25 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.6272, allocations: 4.219 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.6272, allocations: 0 / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.796e-05/0.6272, allocations: 81.3 kB / 0.79 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6272, allocations: 0.5 kB / 0.79 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000247/0.6275, allocations: 25.75 kB / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001605/0.6277, allocations: 121.4 kB / 0.7902 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.834e-05/0.6278, allocations: 36.14 kB / 0.7902 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6278, allocations: 0.5625 kB / 0.7902 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.591e-05/0.6278, allocations: 22.78 kB / 0.7902 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.628, allocations: 7.438 kB / 0.7903 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.6285, allocations: 225.2 kB / 0.7905 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.6286, allocations: 0.6836 MB / 0.7911 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.6286, allocations: 12.69 kB / 0.7911 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6286, allocations: 0.8438 kB / 0.7911 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.002127/0.6307, allocations: 0.7969 MB / 0.7919 GB, free: 45.72 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)